Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.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.001807/0.001807, allocations: 109.5 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.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.002445/0.002445, allocations: 184.3 kB / 23.71 MB, free: 4.695 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.537/1.537, allocations: 225.6 MB / 252.5 MB, free: 13 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.185/0.185, allocations: 38.53 MB / 346.3 MB, free: 2.059 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: translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 63.89 kB / 484.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4145, allocations: 61.29 MB / 0.533 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1): time 0.007443/0.422, allocations: 5.575 MB / 0.5385 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003816/0.4258, allocations: 2.269 MB / 0.5407 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007953/0.4266, allocations: 37.56 kB / 0.5407 GB, free: 15.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.4278, allocations: 286.6 kB / 0.541 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009727/0.4288, allocations: 348 kB / 0.5413 GB, free: 15.13 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.43, allocations: 0.5144 MB / 0.5418 GB, free: 14.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001313/0.4313, allocations: 1.072 MB / 0.5429 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007676/0.4321, allocations: 493.3 kB / 0.5433 GB, free: 13.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005575/0.4326, allocations: 418.5 kB / 0.5437 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004981/0.4331, allocations: 415.2 kB / 0.5441 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.4332, allocations: 79.62 kB / 0.5442 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006321/0.4339, allocations: 365.9 kB / 0.5446 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.4341, allocations: 225.3 kB / 0.5448 GB, free: 12.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.4345, allocations: 385.8 kB / 0.5451 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.4358, allocations: 1.084 MB / 0.5462 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.4358, allocations: 0 / 0.5462 GB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.4358, allocations: 0.875 kB / 0.5462 GB, free: 11.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.4359, allocations: 0 / 0.5462 GB, free: 11.7 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002249/0.4381, allocations: 1.079 MB / 0.5473 GB, free: 10.87 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4381, allocations: 9.094 kB / 0.5473 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009399/0.4391, allocations: 171.1 kB / 0.5474 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.4403, allocations: 0.5411 MB / 0.548 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.4403, allocations: 42.88 kB / 0.548 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.4404, allocations: 60.84 kB / 0.5481 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.442, allocations: 0.7612 MB / 0.5488 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.442, allocations: 5.062 kB / 0.5488 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.31e-05/0.4421, allocations: 21.5 kB / 0.5488 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.294e-05/0.4422, allocations: 38.14 kB / 0.5489 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.4435, allocations: 0.6339 MB / 0.5495 GB, free: 9.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004938/0.4484, allocations: 2.815 MB / 0.5522 GB, free: 7.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.4498, allocations: 0.6043 MB / 0.5528 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.4503, allocations: 217.5 kB / 0.553 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.04e-05/0.4504, allocations: 14.77 kB / 0.553 GB, free: 6.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.4504, allocations: 41.31 kB / 0.5531 GB, free: 6.715 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 2.134e-06/0.4504, allocations: 0 / 0.5531 GB, free: 6.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.0017/0.4521, allocations: 0.7126 MB / 0.5538 GB, free: 6.355 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/0.4522, allocations: 108.4 kB / 0.5539 GB, free: 6.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008925/0.4531, allocations: 0.5777 MB / 0.5544 GB, free: 5.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.325e-05/0.4532, allocations: 36.33 kB / 0.5545 GB, free: 5.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003632/0.4535, allocations: 367.8 kB / 0.5548 GB, free: 5.496 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.4537, allocations: 186.4 kB / 0.555 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.4539, allocations: 94.34 kB / 0.5551 GB, free: 5.215 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002241/0.4541, allocations: 386.8 kB / 0.5555 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.4546, allocations: 215.4 kB / 0.5557 GB, free: 4.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.4552, allocations: 337.5 kB / 0.556 GB, free: 4.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.4563, allocations: 0.5567 MB / 0.5565 GB, free: 3.629 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.4563, allocations: 3.938 kB / 0.5565 GB, free: 3.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001919/0.4583, allocations: 0.7772 MB / 0.5573 GB, free: 2.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4583, allocations: 4 kB / 0.5573 GB, free: 2.832 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.4583, allocations: 4 kB / 0.5573 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004627/0.4587, allocations: 117.2 kB / 0.5574 GB, free: 2.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/0.4593, allocations: 131.8 kB / 0.5575 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003444/0.4628, allocations: 2.328 MB / 0.5598 GB, free: 148 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.4633, allocations: 83.55 kB / 0.5599 GB, free: 64 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.4634, allocations: 28 kB / 0.5599 GB, free: 36 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007429/0.4641, allocations: 361.3 kB / 0.5603 GB, free: 15.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006022/0.4647, allocations: 329.4 kB / 0.5606 GB, free: 15.3 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001038/0.4658, allocations: 0.5373 MB / 0.5611 GB, free: 14.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/0.4658, allocations: 0 / 0.5611 GB, free: 14.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization_lambda0): time 0.001486/0.4673, allocations: 0.703 MB / 0.5618 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.4673, allocations: 8 kB / 0.5618 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.4673, allocations: 7.984 kB / 0.5618 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/0.4676, allocations: 97.25 kB / 0.5619 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005612/0.4681, allocations: 135.8 kB / 0.562 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.4706, allocations: 2.118 MB / 0.5641 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005074/0.4711, allocations: 63.64 kB / 0.5642 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.4712, allocations: 28.06 kB / 0.5642 GB, free: 11.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002327/0.4714, allocations: 212.1 kB / 0.5644 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.4716, allocations: 75.47 kB / 0.5645 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.4729, allocations: 0.5576 MB / 0.565 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.587e-06/0.4729, allocations: 11.98 kB / 0.565 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-06/0.4729, allocations: 0 / 0.565 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4729, allocations: 3.938 kB / 0.565 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002418/0.4753, allocations: 1.282 MB / 0.5663 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4753, allocations: 0 / 0.5663 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005904/0.4759, allocations: 108 kB / 0.5664 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.4759, allocations: 11.88 kB / 0.5664 GB, free: 9.113 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/0.476, allocations: 12 kB / 0.5664 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.476, allocations: 0 / 0.5664 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.476, allocations: 4 kB / 0.5664 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.4777, allocations: 0.9144 MB / 0.5673 GB, free: 8.168 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.478, allocations: 115.4 kB / 0.5674 GB, free: 8.055 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/0.4781, allocations: 15.95 kB / 0.5674 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.4785, allocations: 31.97 kB / 0.5675 GB, free: 8.008 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.4786, allocations: 40.45 kB / 0.5675 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.4786, allocations: 19.94 kB / 0.5675 GB, free: 7.949 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006774/0.4793, allocations: 427 kB / 0.5679 GB, free: 7.535 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4793, allocations: 0 / 0.5679 GB, free: 7.535 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001037/0.4804, allocations: 263.5 kB / 0.5682 GB, free: 7.277 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (powerPlant.rotor.phi,powerPlant.rotor.w,powerPlant.evaporator.y,powerPlant.superheater1.y,powerPlant.superheater2.y,powerPlant.transferFunction.x_scaled[1],powerPlant.hotwellLevel.y,powerPlant.throttleDynamics.y,powerPlant.throttleCosts.y) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000168/0.4805, allocations: 111.2 kB / 0.5683 GB, free: 7.156 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002368/0.4829, allocations: 1.064 MB / 0.5693 GB, free: 6.066 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4829, allocations: 0 / 0.5693 GB, free: 6.066 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005455/0.4834, allocations: 246.7 kB / 0.5696 GB, free: 5.824 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008355/0.4843, allocations: 136.2 kB / 0.5697 GB, free: 5.703 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.4876, allocations: 1.541 MB / 0.5712 GB, free: 4.137 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006275/0.4882, allocations: 0.9379 MB / 0.5721 GB, free: 3.172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004467/0.4887, allocations: 124.5 kB / 0.5722 GB, free: 3.047 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.4888, allocations: 47.44 kB / 0.5723 GB, free: 3 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4888, allocations: 4 kB / 0.5723 GB, free: 2.996 MB / 414.1 MB Notification: Performance of Templates: time 0.01856/0.5074, allocations: 8.795 MB / 0.5809 GB, free: 10.25 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.538058083504438] Failed to read output from testmodel.py, exit status != 0: 0.5168921006843448 0.5325435669999999 0.09358922199999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3b407917b0>