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.001733/0.001733, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002132/0.002132, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.562/1.562, allocations: 230.6 MB / 256 MB, free: 7.781 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.03093/0.03093, allocations: 5.491 MB / 317.9 MB, free: 13.52 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.002217/0.002217, allocations: 67.89 kB / 446.1 MB, free: 3.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1245, allocations: 54.62 MB / 0.489 GB, free: 12.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP): time 0.009453/0.134, allocations: 5.716 MB / 0.4946 GB, free: 7.152 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005555/0.1395, allocations: 2.453 MB / 0.497 GB, free: 4.691 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.1406, allocations: 19.94 kB / 0.497 GB, free: 4.672 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003248/0.1438, allocations: 1.03 MB / 0.498 GB, free: 3.637 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002155/0.146, allocations: 0.6019 MB / 0.4986 GB, free: 3.031 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.147, allocations: 359.3 kB / 0.4989 GB, free: 2.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002012/0.149, allocations: 1.149 MB / 0.5 GB, free: 1.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.151, allocations: 0.8676 MB / 0.5009 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.152, allocations: 490.3 kB / 0.5013 GB, free: 152 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.1531, allocations: 0.4938 MB / 0.5018 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003177/0.1534, allocations: 128 kB / 0.5019 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008615/0.1543, allocations: 295.8 kB / 0.5022 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003585/0.1546, allocations: 255.1 kB / 0.5025 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000966/0.1556, allocations: 450 kB / 0.5029 GB, free: 14.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003079/0.1587, allocations: 1.518 MB / 0.5044 GB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1587, allocations: 0 / 0.5044 GB, free: 13.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1587, allocations: 0 / 0.5044 GB, free: 13.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.005e-05/0.1588, allocations: 0 / 0.5044 GB, free: 13.02 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.005039/0.1638, allocations: 1.484 MB / 0.5058 GB, free: 11.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.1638, allocations: 12.03 kB / 0.5058 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003215/0.1642, allocations: 148 kB / 0.506 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002305/0.1665, allocations: 344 kB / 0.5063 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.1684, allocations: 0.6292 MB / 0.5069 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.469e-05/0.1685, allocations: 69.94 kB / 0.507 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002128/0.1687, allocations: 99.95 kB / 0.5071 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.171, allocations: 1.018 MB / 0.5081 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.171, allocations: 8 kB / 0.5081 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.837e-05/0.1711, allocations: 39.94 kB / 0.5081 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.1712, allocations: 24 kB / 0.5082 GB, free: 9.055 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.1733, allocations: 0.8683 MB / 0.509 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006713/0.18, allocations: 3.263 MB / 0.5122 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.1819, allocations: 0.6427 MB / 0.5128 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005814/0.1825, allocations: 261.8 kB / 0.5131 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.914e-05/0.1826, allocations: 15.98 kB / 0.5131 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007/0.1833, allocations: 351.5 kB / 0.5134 GB, free: 3.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=47): time 2.264e-06/0.1833, allocations: 0 / 0.5134 GB, free: 3.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=47): time 0.003037/0.1863, allocations: 0.9487 MB / 0.5143 GB, free: 2.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.1864, allocations: 144.4 kB / 0.5145 GB, free: 2.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009375/0.1874, allocations: 0.5057 MB / 0.515 GB, free: 1.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/0.1874, allocations: 37.7 kB / 0.515 GB, free: 1.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005138/0.1879, allocations: 475.6 kB / 0.5155 GB, free: 1.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.1881, allocations: 170.6 kB / 0.5156 GB, free: 1.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.1884, allocations: 146.5 kB / 0.5158 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002952/0.1887, allocations: 362.8 kB / 0.5161 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005953/0.1893, allocations: 267.6 kB / 0.5164 GB, free: 340 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2042/0.3935, allocations: 451.6 kB / 0.5168 GB, free: 32.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.3947, allocations: 0.7043 MB / 0.5175 GB, free: 31.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.3947, allocations: 3.5 kB / 0.5175 GB, free: 31.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001706/0.3964, allocations: 0.8818 MB / 0.5184 GB, free: 31.67 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.3964, allocations: 39.33 kB / 0.5184 GB, free: 31.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.3964, allocations: 6.344 kB / 0.5184 GB, free: 31.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004544/0.3969, allocations: 85.52 kB / 0.5185 GB, free: 31.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/0.3975, allocations: 167.8 kB / 0.5186 GB, free: 31.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001201/0.3987, allocations: 1.467 MB / 0.5201 GB, free: 30.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006638/0.3994, allocations: 91.41 kB / 0.5202 GB, free: 30.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/0.3995, allocations: 34.62 kB / 0.5202 GB, free: 30.3 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.0003825/0.3998, allocations: 272.3 kB / 0.5204 GB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.664e-05/0.3999, allocations: 59.28 kB / 0.5205 GB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.4014, allocations: 0.7349 MB / 0.5212 GB, free: 29.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.4014, allocations: 4.781 kB / 0.5212 GB, free: 29.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.4014, allocations: 0.9062 kB / 0.5212 GB, free: 29.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.4014, allocations: 3.266 kB / 0.5212 GB, free: 29.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002879/0.4043, allocations: 1.507 MB / 0.5227 GB, free: 29.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4043, allocations: 1 kB / 0.5227 GB, free: 29.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.4047, allocations: 73.03 kB / 0.5228 GB, free: 29.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005838/0.4053, allocations: 296.7 kB / 0.5231 GB, free: 29.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.4053, allocations: 15.28 kB / 0.5231 GB, free: 29.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009138/0.4062, allocations: 0.8899 MB / 0.5239 GB, free: 28.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4062, allocations: 8.438 kB / 0.5239 GB, free: 28.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00203/0.4082, allocations: 1.105 MB / 0.525 GB, free: 28.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.4085, allocations: 109 kB / 0.5251 GB, free: 28.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.434e-05/0.4086, allocations: 10.27 kB / 0.5251 GB, free: 28.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.409, allocations: 35.36 kB / 0.5252 GB, free: 28.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.818e-05/0.4091, allocations: 31.88 kB / 0.5252 GB, free: 28.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.4091, allocations: 24.42 kB / 0.5252 GB, free: 28.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004133/0.4096, allocations: 348.7 kB / 0.5256 GB, free: 28.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4096, allocations: 0 / 0.5256 GB, free: 28.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007695/0.4103, allocations: 243 kB / 0.5258 GB, free: 28.43 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.002312/0.4126, allocations: 1.709 MB / 0.5275 GB, free: 27.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.4141, allocations: 0.7858 MB / 0.5282 GB, free: 27.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4141, allocations: 3.938 kB / 0.5282 GB, free: 27.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005492/0.4147, allocations: 320.3 kB / 0.5285 GB, free: 26.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000671/0.4154, allocations: 93.94 kB / 0.5286 GB, free: 26.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008233/0.4236, allocations: 5.668 MB / 0.5342 GB, free: 23.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.424, allocations: 358 kB / 0.5345 GB, free: 23.35 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003749/0.4243, allocations: 90.05 kB / 0.5346 GB, free: 23.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.4247, allocations: 297.8 kB / 0.5349 GB, free: 23.1 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4247, allocations: 1.562 kB / 0.5349 GB, free: 23.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04759/0.4723, allocations: 15.23 MB / 0.5498 GB, free: 15.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.75, allocations: 10.94 kB / 0.5498 GB, free: 15.36 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 & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 PhotoVoltaics_PhotoVoltaics_Examples_SimpleModuleMP.fmu > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.836289188824594] Failed to read output from testmodel.py, exit status != 0: 13.872079607099295 13.884402815 13.723144537 Calling exit ...