Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.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.002259/0.002259, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.00257/0.00257, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.538/1.538, 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.1848/0.1848, allocations: 38.55 MB / 352.5 MB, free: 12.42 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.PowerWorld.Test.CityTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_CityTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.CityTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_CityTest",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.00221/0.00221, allocations: 71.89 kB / 492.5 MB, free: 4.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3076, allocations: 62.47 MB / 0.5419 GB, free: 256 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.007469/0.3151, allocations: 3.611 MB / 0.5455 GB, free: 13.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004286/0.3194, allocations: 1.828 MB / 0.5473 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002941/0.3197, allocations: 9 kB / 0.5473 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.3208, allocations: 226.7 kB / 0.5475 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.3221, allocations: 313 kB / 0.5478 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007261/0.3228, allocations: 178.2 kB / 0.5479 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000941/0.3237, allocations: 453.4 kB / 0.5484 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.3242, allocations: 160.9 kB / 0.5485 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006603/0.3249, allocations: 205.3 kB / 0.5487 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004272/0.3253, allocations: 176 kB / 0.5489 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.257e-05/0.3254, allocations: 33.22 kB / 0.5489 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008602/0.3262, allocations: 337 kB / 0.5493 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.3264, allocations: 120.5 kB / 0.5494 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.3267, allocations: 128.6 kB / 0.5495 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.328, allocations: 0.5768 MB / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.328, allocations: 0 / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.328, allocations: 0.9688 kB / 0.5501 GB, free: 10.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.3281, allocations: 0 / 0.5501 GB, free: 10.23 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001623/0.3297, allocations: 0.5795 MB / 0.5506 GB, free: 9.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.3297, allocations: 18.14 kB / 0.5506 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.3298, allocations: 57.69 kB / 0.5507 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.331, allocations: 94.5 kB / 0.5508 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007652/0.3317, allocations: 291.5 kB / 0.5511 GB, free: 9.359 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.3318, allocations: 16.67 kB / 0.5511 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.341e-05/0.3318, allocations: 24.83 kB / 0.5511 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009205/0.3328, allocations: 394.2 kB / 0.5515 GB, free: 9.059 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3328, allocations: 5.219 kB / 0.5515 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.3328, allocations: 6.219 kB / 0.5515 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-05/0.3329, allocations: 20.05 kB / 0.5515 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.3339, allocations: 436.8 kB / 0.5519 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003054/0.337, allocations: 1.397 MB / 0.5533 GB, free: 7.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.338, allocations: 345.3 kB / 0.5536 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.3383, allocations: 111.7 kB / 0.5537 GB, free: 7.387 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.3384, allocations: 7.562 kB / 0.5537 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004976/0.3389, allocations: 210 kB / 0.5539 GB, free: 7.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 3.356e-06/0.3389, allocations: 0 / 0.5539 GB, free: 7.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.001181/0.34, allocations: 436.3 kB / 0.5543 GB, free: 7.008 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.3402, allocations: 135.8 kB / 0.5545 GB, free: 6.848 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006397/0.3408, allocations: 352.8 kB / 0.5548 GB, free: 6.621 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.3408, allocations: 37.02 kB / 0.5548 GB, free: 6.582 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.341, allocations: 184.8 kB / 0.555 GB, free: 6.414 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.3412, allocations: 84.09 kB / 0.5551 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.3413, allocations: 62.14 kB / 0.5552 GB, free: 6.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003336/0.3416, allocations: 339.1 kB / 0.5555 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.342, allocations: 109.5 kB / 0.5556 GB, free: 5.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004842/0.3425, allocations: 224.6 kB / 0.5558 GB, free: 5.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007405/0.3432, allocations: 324.2 kB / 0.5561 GB, free: 5.406 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.3432, allocations: 3.938 kB / 0.5561 GB, free: 5.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001078/0.3443, allocations: 387.8 kB / 0.5565 GB, free: 5.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.3443, allocations: 8 kB / 0.5565 GB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3443, allocations: 4 kB / 0.5565 GB, free: 5.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.3443, allocations: 7.938 kB / 0.5565 GB, free: 5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.3447, allocations: 63.91 kB / 0.5566 GB, free: 4.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.3447, allocations: 11.92 kB / 0.5566 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.345, allocations: 31.77 kB / 0.5566 GB, free: 4.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.345, allocations: 16 kB / 0.5566 GB, free: 4.879 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.city.data.nextTimeEvent,$whenCondition1,city.data.nextTimeEventScaled,$PRE.city.data.nextTimeEventScaled,city.data.nextTimeEvent,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002678/0.3453, allocations: 178 kB / 0.5568 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.3454, allocations: 35.8 kB / 0.5568 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.3465, allocations: 404 kB / 0.5572 GB, free: 4.258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.3465, allocations: 7.938 kB / 0.5572 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.3465, allocations: 7.922 kB / 0.5572 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.827e-06/0.3465, allocations: 4 kB / 0.5572 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/0.3484, allocations: 0.7829 MB / 0.558 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3484, allocations: 0 / 0.558 GB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.3487, allocations: 59.91 kB / 0.5581 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/0.3487, allocations: 11.94 kB / 0.5581 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.3488, allocations: 8 kB / 0.5581 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.3488, allocations: 0 / 0.5581 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3488, allocations: 0 / 0.5581 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.3498, allocations: 488 kB / 0.5585 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.3499, allocations: 39.73 kB / 0.5586 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.464e-05/0.3499, allocations: 15.94 kB / 0.5586 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.3502, allocations: 8 kB / 0.5586 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.3502, allocations: 23.95 kB / 0.5586 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/0.3503, allocations: 12 kB / 0.5586 GB, free: 2.734 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004197/0.3507, allocations: 263 kB / 0.5589 GB, free: 2.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3507, allocations: 0 / 0.5589 GB, free: 2.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000676/0.3514, allocations: 99.77 kB / 0.559 GB, free: 2.383 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,$whenCondition1,city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of discrete states: 2 (city.data.nextTimeEvent,city.data.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.003743/0.3551, allocations: 1.473 MB / 0.5604 GB, free: 1.102 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007646/0.3559, allocations: 271.7 kB / 0.5607 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3559, allocations: 0.625 kB / 0.5607 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003772/0.3563, allocations: 151.8 kB / 0.5608 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007/0.357, allocations: 62.45 kB / 0.5609 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006598/0.3636, allocations: 3.265 MB / 0.5641 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.3639, allocations: 193 kB / 0.5643 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004941/0.3644, allocations: 90.88 kB / 0.5643 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.3647, allocations: 119.4 kB / 0.5645 GB, free: 12.8 MB / 414.1 MB Notification: Performance of SimCode: time 1.443e-06/0.3647, allocations: 3.938 kB / 0.5645 GB, free: 12.79 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03877/0.4035, allocations: 8.658 MB / 0.5729 GB, free: 4.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.99, allocations: 3.094 kB / 0.5729 GB, free: 4.176 MB / 414.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 PowerSystems_PowerSystems_Examples_PowerWorld_Test_CityTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.CityTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.046692301053554] Failed to read output from testmodel.py, exit status != 0: 12.156048967968673 12.170933981 11.839825453 Calling exit ...