Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.03043/0.03043, allocations: 5.484 MB / 317.9 MB, free: 13.61 MB / 254.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.Examples.SimpleModuleMP,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 67.91 kB / 446.1 MB, free: 3.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1059, allocations: 54.62 MB / 0.489 GB, free: 12.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.008748/0.1147, allocations: 5.719 MB / 0.4946 GB, free: 7.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005583/0.1202, allocations: 2.437 MB / 0.4969 GB, free: 4.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.1215, allocations: 23.94 kB / 0.497 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003266/0.1247, allocations: 1.04 MB / 0.498 GB, free: 3.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.1271, allocations: 0.6058 MB / 0.4986 GB, free: 3.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.1284, allocations: 355.3 kB / 0.4989 GB, free: 2.746 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002284/0.1307, allocations: 1.149 MB / 0.5 GB, free: 1.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.1325, allocations: 0.8715 MB / 0.5009 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009824/0.1335, allocations: 494.2 kB / 0.5014 GB, free: 212 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001154/0.1347, allocations: 0.4939 MB / 0.5018 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003453/0.135, allocations: 128 kB / 0.502 GB, free: 15.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009604/0.136, allocations: 291.7 kB / 0.5022 GB, free: 15.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.1363, allocations: 259.1 kB / 0.5025 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007611/0.1371, allocations: 446 kB / 0.5029 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.1396, allocations: 1.514 MB / 0.5044 GB, free: 13.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1396, allocations: 0 / 0.5044 GB, free: 13.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1396, allocations: 0 / 0.5044 GB, free: 13.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.81e-05/0.1396, allocations: 4 kB / 0.5044 GB, free: 13.09 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004503/0.1441, allocations: 1.488 MB / 0.5059 GB, free: 11.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.1442, allocations: 8.031 kB / 0.5059 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003081/0.1445, allocations: 148 kB / 0.506 GB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.1468, allocations: 344 kB / 0.5063 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001882/0.1487, allocations: 0.6175 MB / 0.5069 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.38e-05/0.1488, allocations: 77.94 kB / 0.507 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001933/0.149, allocations: 95.95 kB / 0.5071 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.1511, allocations: 1.022 MB / 0.5081 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.629e-05/0.1511, allocations: 3.984 kB / 0.5081 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.898e-05/0.1512, allocations: 40 kB / 0.5081 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.1512, allocations: 20 kB / 0.5082 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.1532, allocations: 0.8761 MB / 0.509 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006453/0.1597, allocations: 3.27 MB / 0.5122 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.1616, allocations: 0.632 MB / 0.5128 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/0.1621, allocations: 251.8 kB / 0.5131 GB, free: 3.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.21e-05/0.1622, allocations: 15.98 kB / 0.5131 GB, free: 3.91 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006752/0.1629, allocations: 351.5 kB / 0.5134 GB, free: 3.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=47): time 2.304e-06/0.1629, allocations: 0 / 0.5134 GB, free: 3.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.002916/0.1658, allocations: 0.9487 MB / 0.5143 GB, free: 2.555 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.1659, allocations: 144.5 kB / 0.5145 GB, free: 2.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007741/0.1667, allocations: 0.5173 MB / 0.515 GB, free: 1.855 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.89e-05/0.1668, allocations: 37.7 kB / 0.515 GB, free: 1.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004738/0.1672, allocations: 479.6 kB / 0.5155 GB, free: 1.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.1674, allocations: 166.6 kB / 0.5156 GB, free: 1.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.1676, allocations: 146.5 kB / 0.5158 GB, free: 1.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.1678, allocations: 362.8 kB / 0.5161 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000562/0.1684, allocations: 263.6 kB / 0.5164 GB, free: 408 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2032/0.3716, allocations: 457.2 kB / 0.5168 GB, free: 32.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.3729, allocations: 0.7008 MB / 0.5175 GB, free: 31.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.3729, allocations: 0 / 0.5175 GB, free: 31.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001744/0.3747, allocations: 0.8911 MB / 0.5184 GB, free: 31.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.251e-05/0.3747, allocations: 31.73 kB / 0.5184 GB, free: 31.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.3747, allocations: 7.094 kB / 0.5184 GB, free: 31.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004631/0.3752, allocations: 84.31 kB / 0.5185 GB, free: 31.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006499/0.3758, allocations: 172.8 kB / 0.5186 GB, free: 31.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.377, allocations: 1.464 MB / 0.5201 GB, free: 30.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006945/0.3777, allocations: 92.41 kB / 0.5202 GB, free: 30.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.3778, allocations: 32.7 kB / 0.5202 GB, free: 30.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003746/0.3781, allocations: 273.7 kB / 0.5205 GB, free: 30.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.693e-05/0.3782, allocations: 63.33 kB / 0.5205 GB, free: 30.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.3798, allocations: 0.7304 MB / 0.5212 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.3798, allocations: 5.25 kB / 0.5212 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3798, allocations: 1.359 kB / 0.5212 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.3798, allocations: 3.828 kB / 0.5212 GB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/0.383, allocations: 1.507 MB / 0.5227 GB, free: 29.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.383, allocations: 1.781 kB / 0.5227 GB, free: 29.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.3833, allocations: 75.78 kB / 0.5228 GB, free: 29.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006027/0.3839, allocations: 296.6 kB / 0.5231 GB, free: 29.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.455e-05/0.384, allocations: 11.78 kB / 0.5231 GB, free: 29.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009533/0.3849, allocations: 0.8893 MB / 0.5239 GB, free: 29.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.3849, allocations: 9.562 kB / 0.524 GB, free: 29.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.3871, allocations: 1.099 MB / 0.525 GB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/0.3874, allocations: 111.7 kB / 0.5251 GB, free: 28.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3875, allocations: 14.16 kB / 0.5251 GB, free: 28.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004317/0.3879, allocations: 36.27 kB / 0.5252 GB, free: 28.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/0.388, allocations: 32 kB / 0.5252 GB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/0.388, allocations: 26 kB / 0.5252 GB, free: 28.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000523/0.3886, allocations: 347.3 kB / 0.5256 GB, free: 28.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3886, allocations: 0 / 0.5256 GB, free: 28.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000912/0.3895, allocations: 250.8 kB / 0.5258 GB, free: 28.61 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (converter.integrator.y,voltageSource.pin_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002432/0.3919, allocations: 1.697 MB / 0.5275 GB, free: 27.72 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.3935, allocations: 0.7823 MB / 0.5282 GB, free: 27.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3935, allocations: 0 / 0.5282 GB, free: 27.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.3941, allocations: 319.3 kB / 0.5285 GB, free: 27.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006928/0.3948, allocations: 101.9 kB / 0.5286 GB, free: 27.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008975/0.4037, allocations: 5.666 MB / 0.5342 GB, free: 23.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000435/0.4042, allocations: 353.7 kB / 0.5345 GB, free: 23.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004055/0.4046, allocations: 85.77 kB / 0.5346 GB, free: 23.57 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/0.4049, allocations: 301.9 kB / 0.5349 GB, free: 23.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.323e-06/0.4049, allocations: 7.938 kB / 0.5349 GB, free: 23.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04648/0.4514, allocations: 15.23 MB / 0.5498 GB, free: 15.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.72, allocations: 10.84 kB / 0.5498 GB, free: 15.64 MB / 382.1 MB " [Timeout remaining time 646] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP_fmu --startTime=0 --stopTime=300 --stepSize=0.1 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.449543384369463] Failed to read output from testmodel.py, exit status != 0: 13.848604805767536 13.859046736 13.717085646 Calling exit ...