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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002055/0.002055, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.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.1911/0.1911, allocations: 38.5 MB / 342.5 MB, free: 8.023 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001955/0.001955, allocations: 69.7 kB / 478.6 MB, free: 33.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1092, allocations: 61.25 MB / 0.5272 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.CityTest): time 0.005875/0.1151, allocations: 3.635 MB / 0.5308 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.118, allocations: 1.828 MB / 0.5325 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.1181, allocations: 4 kB / 0.5325 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009201/0.1191, allocations: 250.9 kB / 0.5328 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007112/0.1198, allocations: 259 kB / 0.533 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.1203, allocations: 207 kB / 0.5332 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005441/0.1209, allocations: 446.8 kB / 0.5336 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003185/0.1212, allocations: 145.7 kB / 0.5338 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003878/0.1216, allocations: 195.3 kB / 0.534 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/0.1219, allocations: 187.3 kB / 0.5342 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.236e-05/0.1219, allocations: 24 kB / 0.5342 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005855/0.1225, allocations: 335.3 kB / 0.5345 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.1226, allocations: 115.7 kB / 0.5346 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001563/0.1228, allocations: 147.2 kB / 0.5347 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007754/0.1236, allocations: 0.5099 MB / 0.5352 GB, free: 9.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1236, allocations: 0 / 0.5352 GB, free: 9.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1236, allocations: 0 / 0.5352 GB, free: 9.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.423e-06/0.1236, allocations: 0 / 0.5352 GB, free: 9.102 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.001004/0.1246, allocations: 0.6465 MB / 0.5359 GB, free: 8.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1246, allocations: 11.89 kB / 0.5359 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.639e-05/0.1247, allocations: 54.73 kB / 0.5359 GB, free: 8.328 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007761/0.1255, allocations: 96.61 kB / 0.536 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006191/0.1261, allocations: 375.9 kB / 0.5364 GB, free: 7.828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.1261, allocations: 16.75 kB / 0.5364 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.1262, allocations: 23.94 kB / 0.5364 GB, free: 7.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000593/0.1268, allocations: 352.6 kB / 0.5368 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1268, allocations: 0 / 0.5368 GB, free: 7.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.1268, allocations: 12 kB / 0.5368 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.329e-05/0.1268, allocations: 20.36 kB / 0.5368 GB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006263/0.1275, allocations: 388.7 kB / 0.5372 GB, free: 7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.1295, allocations: 1.546 MB / 0.5387 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006269/0.1301, allocations: 311.6 kB / 0.539 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.1303, allocations: 100.5 kB / 0.5391 GB, free: 4.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.1303, allocations: 16.05 kB / 0.5391 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003308/0.1306, allocations: 192.7 kB / 0.5393 GB, free: 4.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.1307, allocations: 0 / 0.5393 GB, free: 4.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.000804/0.1315, allocations: 389.2 kB / 0.5396 GB, free: 4.312 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.1316, allocations: 140.5 kB / 0.5398 GB, free: 4.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.1319, allocations: 283 kB / 0.54 GB, free: 3.859 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.64e-05/0.1319, allocations: 37.7 kB / 0.5401 GB, free: 3.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.1321, allocations: 180.3 kB / 0.5403 GB, free: 3.637 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.1322, allocations: 83.31 kB / 0.5403 GB, free: 3.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1323, allocations: 58.23 kB / 0.5404 GB, free: 3.488 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.1324, allocations: 346.8 kB / 0.5407 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.1326, allocations: 96.52 kB / 0.5408 GB, free: 3.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.1329, allocations: 191.1 kB / 0.541 GB, free: 2.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/0.1333, allocations: 296.9 kB / 0.5413 GB, free: 2.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1333, allocations: 0 / 0.5413 GB, free: 2.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005963/0.1339, allocations: 357.3 kB / 0.5416 GB, free: 2.148 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1339, allocations: 12.06 kB / 0.5416 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1339, allocations: 4 kB / 0.5416 GB, free: 2.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.134, allocations: 4 kB / 0.5416 GB, free: 2.129 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/0.1342, allocations: 67.91 kB / 0.5417 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.1342, allocations: 7.938 kB / 0.5417 GB, free: 2.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001371/0.1344, allocations: 27.78 kB / 0.5417 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.1344, allocations: 15.98 kB / 0.5417 GB, free: 2.012 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.0001977/0.1346, allocations: 173.8 kB / 0.5419 GB, free: 1.832 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.293e-05/0.1347, allocations: 31.81 kB / 0.5419 GB, free: 1.801 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006224/0.1353, allocations: 319.6 kB / 0.5423 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.1353, allocations: 7.984 kB / 0.5423 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.1353, allocations: 3.938 kB / 0.5423 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1353, allocations: 4 kB / 0.5423 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.1364, allocations: 0.7434 MB / 0.543 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1364, allocations: 3.938 kB / 0.543 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.1365, allocations: 39.98 kB / 0.543 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.1366, allocations: 7.938 kB / 0.543 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.393e-05/0.1366, allocations: 11.98 kB / 0.5431 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.1366, allocations: 0 / 0.5431 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1366, allocations: 4 kB / 0.5431 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/0.1372, allocations: 404.9 kB / 0.5434 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.1373, allocations: 128.7 kB / 0.5436 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.35e-05/0.1374, allocations: 8 kB / 0.5436 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.1375, allocations: 4 kB / 0.5436 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.1376, allocations: 19.97 kB / 0.5436 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/0.1376, allocations: 12.05 kB / 0.5436 GB, free: 15.99 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002795/0.1379, allocations: 213.9 kB / 0.5438 GB, free: 15.79 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1379, allocations: 0 / 0.5438 GB, free: 15.79 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004367/0.1383, allocations: 83.75 kB / 0.5439 GB, free: 15.71 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.002461/0.1408, allocations: 1.297 MB / 0.5452 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005201/0.1413, allocations: 243.8 kB / 0.5454 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.1413, allocations: 0 / 0.5454 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.1415, allocations: 111.8 kB / 0.5455 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000479/0.142, allocations: 53.55 kB / 0.5455 GB, free: 14.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/0.146, allocations: 3.081 MB / 0.5486 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004526/0.1465, allocations: 0.7914 MB / 0.5493 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002288/0.1467, allocations: 90.88 kB / 0.5494 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.1469, allocations: 103.4 kB / 0.5495 GB, free: 9.93 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1469, allocations: 4 kB / 0.5495 GB, free: 9.926 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.1779, allocations: 6.972 MB / 0.5563 GB, free: 2.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.569/8.747, allocations: 14.05 kB / 0.5563 GB, free: 2.953 MB / 414.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 sys.exit(0), Time elapsed: 11.625579771120101] Failed to read output from testmodel.py, exit status != 0: 8.874509853776544 8.897176047 8.769590248 Calling exit ...