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.001351/0.001351, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001605/0.001605, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.499/1.499, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.1835/0.1835, allocations: 38.51 MB / 348.7 MB, free: 2.617 MB / 270.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.002948/0.002948, allocations: 72.17 kB / 487.1 MB, free: 22.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1615, allocations: 62.41 MB / 0.5367 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005879/0.1674, allocations: 3.674 MB / 0.5402 GB, free: 3.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003268/0.1707, allocations: 1.967 MB / 0.5422 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.1708, allocations: 15.88 kB / 0.5422 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009015/0.1717, allocations: 238.6 kB / 0.5424 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008205/0.1726, allocations: 306.7 kB / 0.5427 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005634/0.1731, allocations: 175.4 kB / 0.5429 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006771/0.1738, allocations: 450.8 kB / 0.5433 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003547/0.1742, allocations: 153.7 kB / 0.5434 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000509/0.1747, allocations: 211.2 kB / 0.5437 GB, free: 420 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.175, allocations: 191.3 kB / 0.5438 GB, free: 228 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.779e-05/0.175, allocations: 28 kB / 0.5439 GB, free: 200 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008566/0.1759, allocations: 375.2 kB / 0.5442 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.1761, allocations: 123.6 kB / 0.5443 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001772/0.1762, allocations: 155.2 kB / 0.5445 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008402/0.1771, allocations: 0.5683 MB / 0.545 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1771, allocations: 0 / 0.545 GB, free: 14.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1771, allocations: 0 / 0.545 GB, free: 14.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1771, allocations: 0 / 0.545 GB, free: 14.98 MB / 414.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.001078/0.1782, allocations: 0.658 MB / 0.5457 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.1782, allocations: 8.031 kB / 0.5457 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.973e-05/0.1783, allocations: 62.7 kB / 0.5457 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007636/0.1791, allocations: 88.62 kB / 0.5458 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000645/0.1797, allocations: 380 kB / 0.5462 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.1797, allocations: 16.75 kB / 0.5462 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.1798, allocations: 23.92 kB / 0.5462 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006313/0.1804, allocations: 356.6 kB / 0.5466 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.1804, allocations: 3.984 kB / 0.5466 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.102e-05/0.1805, allocations: 12 kB / 0.5466 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.933e-05/0.1805, allocations: 16.38 kB / 0.5466 GB, free: 13.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006973/0.1812, allocations: 396.7 kB / 0.547 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.1833, allocations: 1.547 MB / 0.5485 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006621/0.1839, allocations: 309 kB / 0.5488 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.1841, allocations: 93.69 kB / 0.5489 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.1842, allocations: 7.984 kB / 0.5489 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003486/0.1845, allocations: 193.7 kB / 0.5491 GB, free: 10.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.603e-06/0.1845, allocations: 0 / 0.5491 GB, free: 10.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.000855/0.1854, allocations: 393.2 kB / 0.5494 GB, free: 10.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.933e-05/0.1855, allocations: 132.5 kB / 0.5496 GB, free: 10.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.1859, allocations: 307.3 kB / 0.5499 GB, free: 9.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.1859, allocations: 33.7 kB / 0.5499 GB, free: 9.672 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.1861, allocations: 176.4 kB / 0.5501 GB, free: 9.496 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.211e-05/0.1861, allocations: 91.39 kB / 0.5502 GB, free: 9.406 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.875e-05/0.1862, allocations: 54.23 kB / 0.5502 GB, free: 9.344 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1864, allocations: 346.8 kB / 0.5505 GB, free: 8.996 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.1866, allocations: 92.52 kB / 0.5506 GB, free: 8.906 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.1869, allocations: 179.2 kB / 0.5508 GB, free: 8.695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/0.1873, allocations: 308.1 kB / 0.5511 GB, free: 8.363 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1873, allocations: 0 / 0.5511 GB, free: 8.363 MB / 414.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006121/0.188, allocations: 361.4 kB / 0.5514 GB, free: 8.004 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.188, allocations: 11.94 kB / 0.5514 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.188, allocations: 0 / 0.5514 GB, free: 7.992 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.188, allocations: 4 kB / 0.5514 GB, free: 7.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.1883, allocations: 63.91 kB / 0.5515 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.1883, allocations: 7.938 kB / 0.5515 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.1884, allocations: 27.78 kB / 0.5515 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.1885, allocations: 12 kB / 0.5516 GB, free: 7.879 MB / 414.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.0002205/0.1887, allocations: 188.9 kB / 0.5517 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.727e-05/0.1888, allocations: 31.84 kB / 0.5518 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006206/0.1894, allocations: 319.6 kB / 0.5521 GB, free: 7.332 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1894, allocations: 4 kB / 0.5521 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.1894, allocations: 3.938 kB / 0.5521 GB, free: 7.324 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.1894, allocations: 7.984 kB / 0.5521 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.1905, allocations: 0.7469 MB / 0.5528 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.1905, allocations: 8 kB / 0.5528 GB, free: 6.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000177/0.1907, allocations: 47.89 kB / 0.5529 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.1907, allocations: 7.938 kB / 0.5529 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.1907, allocations: 8 kB / 0.5529 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1907, allocations: 4 kB / 0.5529 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.1907, allocations: 7.922 kB / 0.5529 GB, free: 6.434 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006909/0.1914, allocations: 416.8 kB / 0.5533 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.1915, allocations: 116.8 kB / 0.5534 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.107e-05/0.1916, allocations: 12 kB / 0.5534 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.1917, allocations: 4 kB / 0.5534 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.1918, allocations: 19.97 kB / 0.5534 GB, free: 5.836 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.1919, allocations: 8 kB / 0.5534 GB, free: 5.828 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002989/0.1922, allocations: 221.9 kB / 0.5537 GB, free: 5.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1922, allocations: 4 kB / 0.5537 GB, free: 5.613 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000541/0.1927, allocations: 95.75 kB / 0.5538 GB, free: 5.52 MB / 414.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.003218/0.1959, allocations: 1.35 MB / 0.5551 GB, free: 4.324 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006529/0.1966, allocations: 243.1 kB / 0.5553 GB, free: 4.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1966, allocations: 4.062 kB / 0.5553 GB, free: 4.086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.1968, allocations: 111.9 kB / 0.5554 GB, free: 3.977 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.1974, allocations: 54.91 kB / 0.5555 GB, free: 3.926 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.2018, allocations: 3.106 MB / 0.5585 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.2023, allocations: 0.7953 MB / 0.5593 GB, free: 15.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.2026, allocations: 86.89 kB / 0.5594 GB, free: 15.76 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.2028, allocations: 103.4 kB / 0.5595 GB, free: 15.66 MB / 430.1 MB Notification: Performance of SimCode: time 1.193e-06/0.2028, allocations: 0 / 0.5595 GB, free: 15.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03313/0.2359, allocations: 7.451 MB / 0.5667 GB, free: 8.234 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.578/8.814, allocations: 8.438 kB / 0.5667 GB, free: 8.227 MB / 430.1 MB " [Timeout remaining time 651] (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: 11.768706543996814] Failed to read output from testmodel.py, exit status != 0: 8.941950350999832 8.955217987 8.775217079 Calling exit ...