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.001293/0.001293, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001407/0.001407, allocations: 211.6 kB / 23.73 MB, free: 4.523 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.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.77 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.1888/0.1888, allocations: 38.54 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.003073/0.003073, allocations: 71.89 kB / 492.5 MB, free: 4.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3471, allocations: 62.45 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.PMeterTest): time 0.005455/0.3526, allocations: 3.434 MB / 0.5453 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.3549, allocations: 1.447 MB / 0.5467 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.355, allocations: 13.53 kB / 0.5467 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008761/0.3559, allocations: 240 kB / 0.5469 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006136/0.3565, allocations: 280.2 kB / 0.5472 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.3568, allocations: 135.7 kB / 0.5473 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004019/0.3572, allocations: 335.4 kB / 0.5477 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.3575, allocations: 119.5 kB / 0.5478 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.3578, allocations: 162.4 kB / 0.5479 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002802/0.3581, allocations: 160.5 kB / 0.5481 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.3581, allocations: 13.22 kB / 0.5481 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.3586, allocations: 290 kB / 0.5484 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.3588, allocations: 98.05 kB / 0.5485 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.3589, allocations: 90.33 kB / 0.5485 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005172/0.3594, allocations: 355.4 kB / 0.5489 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.3594, allocations: 4 kB / 0.5489 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3594, allocations: 0 / 0.5489 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.3594, allocations: 4 kB / 0.5489 GB, free: 11.05 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.0007113/0.3601, allocations: 451.6 kB / 0.5493 GB, free: 10.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3602, allocations: 14.23 kB / 0.5493 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.971e-05/0.3602, allocations: 53.52 kB / 0.5494 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.3613, allocations: 103.5 kB / 0.5495 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.3617, allocations: 224.9 kB / 0.5497 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3617, allocations: 11.28 kB / 0.5497 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.233e-05/0.3617, allocations: 23.5 kB / 0.5497 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.3623, allocations: 321.4 kB / 0.55 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.3623, allocations: 5.281 kB / 0.55 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.3623, allocations: 5.406 kB / 0.55 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/0.3623, allocations: 16.02 kB / 0.5501 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004652/0.3628, allocations: 301.4 kB / 0.5504 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.3645, allocations: 1.199 MB / 0.5515 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.3648, allocations: 116.8 kB / 0.5516 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.524e-05/0.3649, allocations: 41.81 kB / 0.5517 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.3649, allocations: 6.719 kB / 0.5517 GB, free: 8.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.365, allocations: 35.75 kB / 0.5517 GB, free: 8.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.365, allocations: 0 / 0.5517 GB, free: 8.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003633/0.3653, allocations: 142.5 kB / 0.5519 GB, free: 8.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.3654, allocations: 78.36 kB / 0.5519 GB, free: 8.562 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.3656, allocations: 222.3 kB / 0.5521 GB, free: 8.395 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.3656, allocations: 25.7 kB / 0.5522 GB, free: 8.363 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.3658, allocations: 169 kB / 0.5523 GB, free: 8.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.741e-05/0.3658, allocations: 44.7 kB / 0.5524 GB, free: 8.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.3659, allocations: 48.62 kB / 0.5524 GB, free: 8.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3661, allocations: 323.5 kB / 0.5527 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.635e-05/0.3661, allocations: 41.28 kB / 0.5528 GB, free: 7.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.3663, allocations: 132.1 kB / 0.5529 GB, free: 7.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.3665, allocations: 199.4 kB / 0.5531 GB, free: 7.465 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3665, allocations: 5.438 kB / 0.5531 GB, free: 7.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003049/0.3668, allocations: 201.7 kB / 0.5533 GB, free: 7.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.3669, allocations: 7.562 kB / 0.5533 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.3669, allocations: 7.938 kB / 0.5533 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.3669, allocations: 11.72 kB / 0.5533 GB, free: 7.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.3671, allocations: 48.62 kB / 0.5533 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.3671, allocations: 4.438 kB / 0.5534 GB, free: 7.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.3672, allocations: 27.41 kB / 0.5534 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.3672, allocations: 9.125 kB / 0.5534 GB, free: 7.305 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.0002227/0.3674, allocations: 157.2 kB / 0.5535 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.261e-05/0.3675, allocations: 16 kB / 0.5536 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.3677, allocations: 121.5 kB / 0.5537 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3677, allocations: 2.938 kB / 0.5537 GB, free: 7.066 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.3677, allocations: 8 kB / 0.5537 GB, free: 7.059 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3677, allocations: 5.422 kB / 0.5537 GB, free: 7.055 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008002/0.3685, allocations: 0.528 MB / 0.5542 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3685, allocations: 3.469 kB / 0.5542 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.3686, allocations: 23.45 kB / 0.5542 GB, free: 6.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.3686, allocations: 7.625 kB / 0.5542 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3686, allocations: 11.31 kB / 0.5542 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.3686, allocations: 3.438 kB / 0.5542 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3686, allocations: 2.281 kB / 0.5542 GB, free: 6.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.3689, allocations: 284.2 kB / 0.5545 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.369, allocations: 20.31 kB / 0.5545 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.369, allocations: 7.594 kB / 0.5545 GB, free: 6.281 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.3691, allocations: 7.609 kB / 0.5546 GB, free: 6.277 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.3692, allocations: 17.23 kB / 0.5546 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.3692, allocations: 5.438 kB / 0.5546 GB, free: 6.266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.3693, allocations: 153.2 kB / 0.5547 GB, free: 6.156 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3693, allocations: 0 / 0.5547 GB, free: 6.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003525/0.3697, allocations: 52.8 kB / 0.5548 GB, free: 6.145 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.0006075/0.3703, allocations: 0.8194 MB / 0.5556 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.3705, allocations: 114.8 kB / 0.5557 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3705, allocations: 1 kB / 0.5557 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.611e-05/0.3706, allocations: 44.86 kB / 0.5557 GB, free: 5.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/0.371, allocations: 38.69 kB / 0.5558 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.3739, allocations: 2.316 MB / 0.558 GB, free: 2.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.374, allocations: 151.9 kB / 0.5582 GB, free: 2.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.3741, allocations: 33.61 kB / 0.5582 GB, free: 2.781 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.757e-05/0.3742, allocations: 55.42 kB / 0.5583 GB, free: 2.727 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3742, allocations: 0 / 0.5583 GB, free: 2.727 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.4037, allocations: 3.999 MB / 0.5622 GB, free: 14.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.68, allocations: 7.5 kB / 0.5622 GB, free: 14.84 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.578666147077456] Failed to read output from testmodel.py, exit status != 0: 11.790420508943498 11.812423228 11.4495356 Calling exit ...