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.001294/0.001294, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001386/0.001386, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.425/1.425, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.1866/0.1866, allocations: 38.53 MB / 352.5 MB, free: 12.56 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.002091/0.002091, allocations: 67.89 kB / 492.5 MB, free: 4.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3033/0.3053, allocations: 62.47 MB / 0.542 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005346/0.3107, allocations: 3.764 MB / 0.5457 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003029/0.3137, allocations: 1.988 MB / 0.5476 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.3139, allocations: 13.31 kB / 0.5476 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008467/0.3147, allocations: 241.6 kB / 0.5479 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006655/0.3154, allocations: 303.3 kB / 0.5482 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004198/0.3158, allocations: 181.8 kB / 0.5483 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005179/0.3163, allocations: 454 kB / 0.5488 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003003/0.3166, allocations: 160.8 kB / 0.5489 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004079/0.317, allocations: 215.7 kB / 0.5491 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002828/0.3173, allocations: 187.6 kB / 0.5493 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.112e-05/0.3173, allocations: 28.12 kB / 0.5493 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005803/0.3179, allocations: 383.1 kB / 0.5497 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.3181, allocations: 120.1 kB / 0.5498 GB, free: 10.47 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001854/0.3182, allocations: 153.3 kB / 0.5499 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000725/0.319, allocations: 0.5711 MB / 0.5505 GB, free: 9.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.319, allocations: 0 / 0.5505 GB, free: 9.988 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.319, allocations: 1.188 kB / 0.5505 GB, free: 9.988 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.319, allocations: 0 / 0.5505 GB, free: 9.988 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.000944/0.3199, allocations: 0.5899 MB / 0.5511 GB, free: 9.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.32, allocations: 13.42 kB / 0.5511 GB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.461e-05/0.32, allocations: 51.08 kB / 0.5511 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007095/0.3207, allocations: 94.34 kB / 0.5512 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.3213, allocations: 324.1 kB / 0.5515 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.3213, allocations: 16.41 kB / 0.5516 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.122e-05/0.3214, allocations: 19.75 kB / 0.5516 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005806/0.322, allocations: 361.1 kB / 0.5519 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.322, allocations: 5.375 kB / 0.5519 GB, free: 8.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.322, allocations: 6.938 kB / 0.5519 GB, free: 8.816 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-05/0.322, allocations: 16.3 kB / 0.5519 GB, free: 8.812 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006081/0.3226, allocations: 386 kB / 0.5523 GB, free: 8.633 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.3246, allocations: 1.515 MB / 0.5538 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005969/0.3252, allocations: 302.6 kB / 0.5541 GB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.3254, allocations: 92.53 kB / 0.5542 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.468e-05/0.3254, allocations: 17.78 kB / 0.5542 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000326/0.3258, allocations: 196.4 kB / 0.5544 GB, free: 6.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.502e-06/0.3258, allocations: 0 / 0.5544 GB, free: 6.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.000773/0.3265, allocations: 392.4 kB / 0.5548 GB, free: 6.707 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/0.3266, allocations: 131.4 kB / 0.5549 GB, free: 6.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003538/0.327, allocations: 312.5 kB / 0.5552 GB, free: 6.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.217e-05/0.327, allocations: 41.02 kB / 0.5552 GB, free: 6.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3272, allocations: 179.9 kB / 0.5554 GB, free: 6.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.853e-05/0.3273, allocations: 89.31 kB / 0.5555 GB, free: 6.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/0.3273, allocations: 52.36 kB / 0.5555 GB, free: 6.023 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.3275, allocations: 338.9 kB / 0.5558 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.3277, allocations: 96.52 kB / 0.5559 GB, free: 5.645 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002553/0.3279, allocations: 187.5 kB / 0.5561 GB, free: 5.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/0.3284, allocations: 293.7 kB / 0.5564 GB, free: 5.277 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3284, allocations: 1.031 kB / 0.5564 GB, free: 5.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006019/0.329, allocations: 369.5 kB / 0.5567 GB, free: 5.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.329, allocations: 8 kB / 0.5568 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.329, allocations: 0 / 0.5568 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.329, allocations: 4 kB / 0.5568 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.3293, allocations: 67.91 kB / 0.5568 GB, free: 4.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.3293, allocations: 12.19 kB / 0.5568 GB, free: 4.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.3294, allocations: 31.78 kB / 0.5569 GB, free: 4.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.3295, allocations: 11.98 kB / 0.5569 GB, free: 4.871 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.0002017/0.3297, allocations: 187.8 kB / 0.5571 GB, free: 4.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.3297, allocations: 27.81 kB / 0.5571 GB, free: 4.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006923/0.3304, allocations: 336 kB / 0.5574 GB, free: 4.312 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3304, allocations: 4 kB / 0.5574 GB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.3304, allocations: 3.938 kB / 0.5574 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.3304, allocations: 3.984 kB / 0.5574 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.3315, allocations: 0.718 MB / 0.5581 GB, free: 3.535 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3315, allocations: 4 kB / 0.5581 GB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000169/0.3317, allocations: 43.91 kB / 0.5582 GB, free: 3.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.3317, allocations: 7.938 kB / 0.5582 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.3317, allocations: 8 kB / 0.5582 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3317, allocations: 0 / 0.5582 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3317, allocations: 0 / 0.5582 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000593/0.3323, allocations: 412.9 kB / 0.5586 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.3324, allocations: 39.62 kB / 0.5586 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.902e-05/0.3324, allocations: 15.98 kB / 0.5586 GB, free: 2.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.3326, allocations: 8 kB / 0.5586 GB, free: 2.984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.097e-05/0.3326, allocations: 19.91 kB / 0.5587 GB, free: 2.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.3327, allocations: 15.98 kB / 0.5587 GB, free: 2.949 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002558/0.3329, allocations: 227.1 kB / 0.5589 GB, free: 2.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3329, allocations: 0 / 0.5589 GB, free: 2.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004367/0.3333, allocations: 95.75 kB / 0.559 GB, free: 2.637 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 (25): * Single equations (assignments): 22 * 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.002618/0.336, allocations: 1.351 MB / 0.5603 GB, free: 1.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004978/0.3365, allocations: 243.6 kB / 0.5605 GB, free: 1.207 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3365, allocations: 0 / 0.5605 GB, free: 1.207 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.3367, allocations: 110.9 kB / 0.5606 GB, free: 1.102 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.3371, allocations: 60.38 kB / 0.5607 GB, free: 1.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.3412, allocations: 3.11 MB / 0.5637 GB, free: 13.78 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/0.3417, allocations: 0.7914 MB / 0.5645 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002071/0.3419, allocations: 82.89 kB / 0.5646 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.3421, allocations: 115.4 kB / 0.5647 GB, free: 12.77 MB / 414.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3421, allocations: 0 / 0.5647 GB, free: 12.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05783/0.3999, allocations: 7.757 MB / 0.5723 GB, free: 5.062 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.94, allocations: 14.83 kB / 0.5723 GB, free: 5.051 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: 14.806446638001944] Failed to read output from testmodel.py, exit status != 0: 12.105399031999696 12.12172333 11.799620931 Calling exit ...