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.001871/0.001871, allocations: 116.2 kB / 18.49 MB, free: 4.559 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.002409/0.002409, allocations: 218.9 kB / 21.46 MB, free: 1.605 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.523/1.523, allocations: 230.6 MB / 254.8 MB, free: 15.25 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.1874/0.1874, allocations: 38.51 MB / 349.4 MB, free: 2.605 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.CityTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_CityTest",fmuType="cs",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.002892/0.002892, allocations: 71.98 kB / 487.8 MB, free: 32.2 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1304, allocations: 62.42 MB / 0.5374 GB, free: 9.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005403/0.1358, allocations: 3.657 MB / 0.5409 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003139/0.139, allocations: 1.979 MB / 0.5429 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.1392, allocations: 7.938 kB / 0.5429 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008839/0.14, allocations: 242.9 kB / 0.5431 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008089/0.1409, allocations: 294.8 kB / 0.5434 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.1414, allocations: 183.4 kB / 0.5436 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006145/0.142, allocations: 454.9 kB / 0.544 GB, free: 2.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000319/0.1423, allocations: 145.7 kB / 0.5441 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004416/0.1428, allocations: 219.2 kB / 0.5443 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002725/0.143, allocations: 187.3 kB / 0.5445 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.1431, allocations: 28 kB / 0.5445 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006762/0.1438, allocations: 379.2 kB / 0.5449 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.1439, allocations: 119.6 kB / 0.545 GB, free: 1.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.144, allocations: 155.2 kB / 0.5452 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008006/0.1448, allocations: 0.5644 MB / 0.5457 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1448, allocations: 0 / 0.5457 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1449, allocations: 4 kB / 0.5457 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.1449, allocations: 0 / 0.5457 GB, free: 0.9414 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.001008/0.1459, allocations: 0.6542 MB / 0.5464 GB, free: 240 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1459, allocations: 8.031 kB / 0.5464 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.754e-05/0.1459, allocations: 12.5 kB / 0.5464 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/0.146, allocations: 54.72 kB / 0.5464 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000796/0.1468, allocations: 96.62 kB / 0.5465 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006355/0.1474, allocations: 376 kB / 0.5469 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.1475, allocations: 24.47 kB / 0.5469 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.1475, allocations: 23.98 kB / 0.5469 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006427/0.1481, allocations: 360.6 kB / 0.5473 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1482, allocations: 0 / 0.5473 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/0.1482, allocations: 11.92 kB / 0.5473 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.514e-05/0.1482, allocations: 12.38 kB / 0.5473 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006639/0.1489, allocations: 403.6 kB / 0.5477 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.1509, allocations: 1.539 MB / 0.5492 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006567/0.1516, allocations: 297.1 kB / 0.5495 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001943/0.1518, allocations: 100.6 kB / 0.5496 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.1518, allocations: 15.98 kB / 0.5496 GB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003584/0.1522, allocations: 197.7 kB / 0.5498 GB, free: 12.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 1.643e-06/0.1522, allocations: 0 / 0.5498 GB, free: 12.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.0008558/0.1531, allocations: 385.2 kB / 0.5501 GB, free: 12.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.594e-05/0.1532, allocations: 136.5 kB / 0.5503 GB, free: 11.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.1535, allocations: 307.5 kB / 0.5506 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.1536, allocations: 37.7 kB / 0.5506 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.1537, allocations: 176.4 kB / 0.5508 GB, free: 11.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.935e-05/0.1538, allocations: 83.33 kB / 0.5508 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.1539, allocations: 57.98 kB / 0.5509 GB, free: 11.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1541, allocations: 342.8 kB / 0.5512 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.1543, allocations: 96.45 kB / 0.5513 GB, free: 10.86 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.1546, allocations: 183.4 kB / 0.5515 GB, free: 10.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.155, allocations: 300.4 kB / 0.5518 GB, free: 10.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.155, allocations: 0 / 0.5518 GB, free: 10.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006385/0.1557, allocations: 361.1 kB / 0.5521 GB, free: 9.957 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1557, allocations: 8 kB / 0.5521 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1557, allocations: 4 kB / 0.5521 GB, free: 9.945 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1557, allocations: 4 kB / 0.5521 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.156, allocations: 63.91 kB / 0.5522 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.156, allocations: 8.25 kB / 0.5522 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.1562, allocations: 31.78 kB / 0.5522 GB, free: 9.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.1562, allocations: 12 kB / 0.5522 GB, free: 9.828 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.0002425/0.1564, allocations: 185.2 kB / 0.5524 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.1565, allocations: 27.81 kB / 0.5525 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006504/0.1572, allocations: 330.5 kB / 0.5528 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.1572, allocations: 3.984 kB / 0.5528 GB, free: 9.277 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.1572, allocations: 7.938 kB / 0.5528 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.1572, allocations: 3.984 kB / 0.5528 GB, free: 9.266 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.1583, allocations: 0.7558 MB / 0.5535 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1583, allocations: 4 kB / 0.5535 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.1585, allocations: 51.78 kB / 0.5536 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1585, allocations: 4 kB / 0.5536 GB, free: 8.395 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.1585, allocations: 8 kB / 0.5536 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.1585, allocations: 0 / 0.5536 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1585, allocations: 0 / 0.5536 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006208/0.1591, allocations: 420.8 kB / 0.554 GB, free: 7.953 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.965e-05/0.1592, allocations: 116.8 kB / 0.5541 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.058e-05/0.1593, allocations: 8 kB / 0.5541 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.1594, allocations: 8 kB / 0.5541 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.599e-05/0.1595, allocations: 19.97 kB / 0.5541 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.1595, allocations: 12 kB / 0.5541 GB, free: 7.773 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002712/0.1598, allocations: 225.9 kB / 0.5544 GB, free: 7.559 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1598, allocations: 0 / 0.5544 GB, free: 7.559 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004921/0.1603, allocations: 95.69 kB / 0.5544 GB, free: 7.465 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.002742/0.163, allocations: 1.353 MB / 0.5558 GB, free: 6.273 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005696/0.1636, allocations: 243.5 kB / 0.556 GB, free: 6.035 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.1636, allocations: 0 / 0.556 GB, free: 6.035 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.1638, allocations: 108.3 kB / 0.5561 GB, free: 5.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.1644, allocations: 65 kB / 0.5562 GB, free: 5.871 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004468/0.1688, allocations: 3.104 MB / 0.5592 GB, free: 2.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.1694, allocations: 0.7953 MB / 0.56 GB, free: 1.793 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002648/0.1696, allocations: 90.89 kB / 0.5601 GB, free: 1.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/0.1699, allocations: 107.4 kB / 0.5602 GB, free: 1.598 MB / 414.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1699, allocations: 0 / 0.5602 GB, free: 1.598 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.1966, allocations: 7.472 MB / 0.5675 GB, free: 10.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.79/8.987, allocations: 10.61 kB / 0.5675 GB, free: 10.15 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 & /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 os._exit(0), Time elapsed: 11.966285017959308] Failed to read output from testmodel.py, exit status != 0: 9.170272873947397 9.185529709999999 9.037365206 Calling exit ...