Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.001327/0.001327, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001452/0.001452, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.602/1.602, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1867/0.1867, allocations: 38.55 MB / 352.5 MB, free: 12.31 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.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(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.PMeterTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems 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.002126/0.002126, allocations: 67.89 kB / 492.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3581/0.3602, allocations: 62.47 MB / 0.5419 GB, free: 276 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005191/0.3654, allocations: 3.421 MB / 0.5453 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.3678, allocations: 1.44 MB / 0.5467 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.3679, allocations: 9.438 kB / 0.5467 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008503/0.3687, allocations: 259.8 kB / 0.5469 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006721/0.3694, allocations: 283.6 kB / 0.5472 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.3698, allocations: 131.1 kB / 0.5473 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.3702, allocations: 332.7 kB / 0.5477 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002965/0.3705, allocations: 122.4 kB / 0.5478 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.3708, allocations: 162.9 kB / 0.5479 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.3711, allocations: 152.2 kB / 0.5481 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.3711, allocations: 13.69 kB / 0.5481 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004782/0.3716, allocations: 282 kB / 0.5484 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3717, allocations: 99.27 kB / 0.5484 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.3718, allocations: 92.84 kB / 0.5485 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005325/0.3724, allocations: 355.8 kB / 0.5489 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3724, allocations: 0 / 0.5489 GB, free: 11.1 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3724, allocations: 0 / 0.5489 GB, free: 11.1 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.3724, allocations: 4 kB / 0.5489 GB, free: 11.09 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.000677/0.373, allocations: 456 kB / 0.5493 GB, free: 10.7 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3731, allocations: 12.89 kB / 0.5493 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.404e-05/0.3731, allocations: 54.45 kB / 0.5494 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009061/0.3741, allocations: 103.2 kB / 0.5495 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.3745, allocations: 219.9 kB / 0.5497 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.3745, allocations: 14.73 kB / 0.5497 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.3745, allocations: 19.75 kB / 0.5497 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006491/0.3752, allocations: 325.8 kB / 0.55 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.3752, allocations: 0 / 0.55 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.3752, allocations: 6.75 kB / 0.55 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.812e-05/0.3753, allocations: 20.11 kB / 0.5501 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.3759, allocations: 301.4 kB / 0.5503 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.378, allocations: 1.206 MB / 0.5515 GB, free: 8.945 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/0.3783, allocations: 114 kB / 0.5516 GB, free: 8.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.068e-05/0.3784, allocations: 37.45 kB / 0.5517 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.3784, allocations: 1.594 kB / 0.5517 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.586e-05/0.3785, allocations: 41.08 kB / 0.5517 GB, free: 8.789 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.3785, allocations: 192 / 0.5517 GB, free: 8.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003979/0.3789, allocations: 141.3 kB / 0.5518 GB, free: 8.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.074e-05/0.3789, allocations: 79.48 kB / 0.5519 GB, free: 8.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.3792, allocations: 216.8 kB / 0.5521 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.3793, allocations: 31.17 kB / 0.5522 GB, free: 8.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.3794, allocations: 168.9 kB / 0.5523 GB, free: 8.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.3795, allocations: 40.19 kB / 0.5524 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-05/0.3795, allocations: 45.25 kB / 0.5524 GB, free: 8.184 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.3797, allocations: 331.9 kB / 0.5527 GB, free: 7.855 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.929e-05/0.3798, allocations: 36.84 kB / 0.5527 GB, free: 7.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001835/0.38, allocations: 136.7 kB / 0.5529 GB, free: 7.695 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.3803, allocations: 202.5 kB / 0.5531 GB, free: 7.508 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3803, allocations: 1.656 kB / 0.5531 GB, free: 7.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002893/0.3806, allocations: 206.2 kB / 0.5533 GB, free: 7.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.3806, allocations: 6.031 kB / 0.5533 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3806, allocations: 4.156 kB / 0.5533 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3806, allocations: 8.344 kB / 0.5533 GB, free: 7.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3808, allocations: 48.48 kB / 0.5533 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3808, allocations: 8.266 kB / 0.5533 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.3809, allocations: 24.34 kB / 0.5534 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.3809, allocations: 11.88 kB / 0.5534 GB, free: 7.352 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.3811, allocations: 157.7 kB / 0.5535 GB, free: 7.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.3811, allocations: 16.41 kB / 0.5535 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.3813, allocations: 118.1 kB / 0.5537 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3813, allocations: 1.219 kB / 0.5537 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3813, allocations: 9.25 kB / 0.5537 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3814, allocations: 0 / 0.5537 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000723/0.3821, allocations: 0.5332 MB / 0.5542 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3821, allocations: 2.344 kB / 0.5542 GB, free: 6.633 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.665e-05/0.3822, allocations: 23.56 kB / 0.5542 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.604e-06/0.3822, allocations: 11.69 kB / 0.5542 GB, free: 6.617 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.3822, allocations: 8.5 kB / 0.5542 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.3822, allocations: 10.92 kB / 0.5542 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3822, allocations: 2.312 kB / 0.5542 GB, free: 6.605 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003024/0.3825, allocations: 279.6 kB / 0.5545 GB, free: 6.344 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.3825, allocations: 16.09 kB / 0.5545 GB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.3826, allocations: 8.75 kB / 0.5545 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3827, allocations: 6.25 kB / 0.5545 GB, free: 6.328 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.3827, allocations: 14.98 kB / 0.5546 GB, free: 6.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.3827, allocations: 4.812 kB / 0.5546 GB, free: 6.32 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001685/0.3829, allocations: 156.9 kB / 0.5547 GB, free: 6.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3829, allocations: 0 / 0.5547 GB, free: 6.207 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000375/0.3833, allocations: 52.64 kB / 0.5548 GB, free: 6.195 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008732/0.3841, allocations: 0.8165 MB / 0.5556 GB, free: 5.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003021/0.3844, allocations: 122.9 kB / 0.5557 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3844, allocations: 1.094 kB / 0.5557 GB, free: 5.336 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.484e-05/0.3845, allocations: 39.86 kB / 0.5557 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.3849, allocations: 36.98 kB / 0.5557 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.3875, allocations: 2.328 MB / 0.558 GB, free: 3.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.3877, allocations: 147.9 kB / 0.5582 GB, free: 2.84 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001126/0.3878, allocations: 37.64 kB / 0.5582 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.75e-05/0.3879, allocations: 55.42 kB / 0.5582 GB, free: 2.75 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3879, allocations: 0 / 0.5582 GB, free: 2.75 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.4174, allocations: 3.913 MB / 0.5621 GB, free: 14.95 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.61, allocations: 7.031 kB / 0.5621 GB, free: 14.95 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_Generic_Test_PMeterTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.714260607026517] Failed to read output from testmodel.py, exit status != 0: 11.719204655848444 11.742337611 11.365655732 Calling exit ...