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.0008702/0.0008702, allocations: 79.7 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001041/0.001041, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8754/0.8754, allocations: 177.1 MB / 204.2 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2062/0.2062, allocations: 29.4 MB / 290.1 MB, free: 2.461 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.56e-05, allocations: 2.281 kB / 430.2 MB, free: 13.62 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.003488/0.003503, allocations: 3.588 MB / 433.8 MB, free: 10 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002057/0.00556, allocations: 1.832 MB / 435.6 MB, free: 8.164 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001446/0.005705, allocations: 11.88 kB / 435.6 MB, free: 8.152 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005946/0.006299, allocations: 242.8 kB / 435.9 MB, free: 7.914 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004979/0.006797, allocations: 306.5 kB / 436.2 MB, free: 7.613 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003092/0.007106, allocations: 183.2 kB / 436.4 MB, free: 7.434 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.007477, allocations: 458.7 kB / 436.8 MB, free: 6.984 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002523/0.007729, allocations: 173.9 kB / 437 MB, free: 6.812 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.008054, allocations: 259.3 kB / 437.2 MB, free: 6.559 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001871/0.008241, allocations: 175.5 kB / 437.4 MB, free: 6.387 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.008272, allocations: 32 kB / 437.4 MB, free: 6.355 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003786/0.008651, allocations: 327.1 kB / 437.7 MB, free: 6.035 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.529e-05/0.008746, allocations: 131.6 kB / 437.9 MB, free: 5.906 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.093e-05/0.008827, allocations: 107.6 kB / 438 MB, free: 5.801 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.009343, allocations: 0.592 MB / 438.6 MB, free: 5.207 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.009347, allocations: 3.984 kB / 438.6 MB, free: 5.203 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.009347, allocations: 0 / 438.6 MB, free: 5.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.009353, allocations: 0 / 438.6 MB, free: 5.203 MB / 410.7 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.0006841/0.01004, allocations: 0.5866 MB / 439.2 MB, free: 4.582 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.01008, allocations: 11.98 kB / 439.2 MB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.726e-05/0.01012, allocations: 54.73 kB / 439.2 MB, free: 4.508 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004282/0.01055, allocations: 96.61 kB / 439.3 MB, free: 4.414 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.01088, allocations: 284.6 kB / 439.6 MB, free: 4.113 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.0109, allocations: 12.75 kB / 439.6 MB, free: 4.102 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.581e-05/0.01093, allocations: 24.36 kB / 439.6 MB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004137/0.01134, allocations: 411 kB / 440 MB, free: 3.641 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.01135, allocations: 0 / 440 MB, free: 3.641 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.01137, allocations: 8 kB / 440 MB, free: 3.633 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.01139, allocations: 12.38 kB / 440.1 MB, free: 3.621 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.01181, allocations: 440.6 kB / 440.5 MB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.01298, allocations: 1.403 MB / 441.9 MB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006498/0.01363, allocations: 341.1 kB / 442.2 MB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.01374, allocations: 109.7 kB / 442.3 MB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.01376, allocations: 4 kB / 442.3 MB, free: 1.238 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.01397, allocations: 216.4 kB / 442.5 MB, free: 1.008 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.112e-06/0.01397, allocations: 0 / 442.5 MB, free: 1.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005054/0.01448, allocations: 432.6 kB / 443 MB, free: 0.582 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.01453, allocations: 136.5 kB / 443.1 MB, free: 428 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.01478, allocations: 352.5 kB / 443.4 MB, free: 68 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.0148, allocations: 37.7 kB / 443.5 MB, free: 24 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1665/0.1813, allocations: 177.2 kB / 443.7 MB, free: 54.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.1815, allocations: 82.12 kB / 443.7 MB, free: 54.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.629e-05/0.1815, allocations: 58.56 kB / 443.8 MB, free: 54.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.113e-05/0.1816, allocations: 340.9 kB / 444.1 MB, free: 54.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001972/0.1818, allocations: 109.4 kB / 444.2 MB, free: 54.19 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1819, allocations: 221.4 kB / 444.5 MB, free: 54.06 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.1822, allocations: 330.2 kB / 444.8 MB, free: 53.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1822, allocations: 2.844 kB / 444.8 MB, free: 53.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003875/0.1826, allocations: 392.3 kB / 445.2 MB, free: 53.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1826, allocations: 6.125 kB / 445.2 MB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.1826, allocations: 3.656 kB / 445.2 MB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.1826, allocations: 3.125 kB / 445.2 MB, free: 53.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.1828, allocations: 68.33 kB / 445.2 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.1828, allocations: 8.531 kB / 445.2 MB, free: 53.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.1829, allocations: 23.69 kB / 445.3 MB, free: 53.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.1829, allocations: 16.91 kB / 445.3 MB, free: 53.84 MB / 410.7 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.000113/0.1831, allocations: 184.3 kB / 445.5 MB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.33e-05/0.1831, allocations: 33.81 kB / 445.5 MB, free: 53.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004205/0.1835, allocations: 407.4 kB / 445.9 MB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.1835, allocations: 8.156 kB / 445.9 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1835, allocations: 0 / 445.9 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1835, allocations: 6.156 kB / 445.9 MB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006325/0.1842, allocations: 0.7897 MB / 446.7 MB, free: 53.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1842, allocations: 0 / 446.7 MB, free: 53.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.1843, allocations: 59.33 kB / 446.8 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1843, allocations: 6.656 kB / 446.8 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.1843, allocations: 11.31 kB / 446.8 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1843, allocations: 6.312 kB / 446.8 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1843, allocations: 0 / 446.8 MB, free: 53.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.1846, allocations: 487.4 kB / 447.3 MB, free: 52.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.281e-05/0.1846, allocations: 41.02 kB / 447.3 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.1847, allocations: 7.25 kB / 447.3 MB, free: 52.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.1847, allocations: 10.66 kB / 447.3 MB, free: 52.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.1848, allocations: 30.41 kB / 447.3 MB, free: 52.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.604e-05/0.1848, allocations: 14.23 kB / 447.4 MB, free: 52.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.1849, allocations: 259.6 kB / 447.6 MB, free: 52.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1849, allocations: 6.625 kB / 447.6 MB, free: 52.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002763/0.1852, allocations: 100.5 kB / 447.7 MB, free: 52.6 MB / 410.7 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.0012/0.1864, allocations: 1.476 MB / 449.2 MB, free: 51.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003096/0.1867, allocations: 269 kB / 449.5 MB, free: 51.66 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1867, allocations: 0 / 449.5 MB, free: 51.66 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.1869, allocations: 146.9 kB / 449.6 MB, free: 51.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.1872, allocations: 61.89 kB / 449.7 MB, free: 51.59 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.1893, allocations: 3.241 MB / 452.9 MB, free: 49.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.55e-05/0.1894, allocations: 192.1 kB / 453.1 MB, free: 49.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.1895, allocations: 90.8 kB / 453.2 MB, free: 49.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1896, allocations: 123.9 kB / 453.3 MB, free: 49.31 MB / 410.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1896, allocations: 3.938 kB / 453.3 MB, free: 49.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01844/0.2081, allocations: 8.801 MB / 462.1 MB, free: 47.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.034/7.242, allocations: 12.36 kB / 462.1 MB, free: 47.41 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_CityTest_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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: 9.024193151853979] Failed to read output from testmodel.py, exit status != 0: 7.337865450419486 7.344716159 7.33395555 Calling exit ...