Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.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.00163/0.00163, allocations: 112 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.002069/0.002069, allocations: 180.8 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.478/1.478, 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.2089/0.2089, allocations: 38.54 MB / 346.3 MB, free: 2.07 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.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002259/0.002259, allocations: 67.88 kB / 484.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3656, allocations: 61.3 MB / 0.533 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.006917/0.3726, allocations: 6.059 MB / 0.5389 GB, free: 1.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004383/0.3769, allocations: 2.76 MB / 0.5416 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005845/0.3775, allocations: 42.47 kB / 0.5417 GB, free: 14.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.3789, allocations: 394.1 kB / 0.5421 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.3802, allocations: 483.4 kB / 0.5425 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.3817, allocations: 0.5665 MB / 0.5431 GB, free: 13.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001702/0.3834, allocations: 1.23 MB / 0.5443 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008864/0.3843, allocations: 0.5385 MB / 0.5448 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007886/0.3851, allocations: 484.1 kB / 0.5453 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006274/0.3857, allocations: 493.9 kB / 0.5457 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.3859, allocations: 87.34 kB / 0.5458 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.3869, allocations: 0.5363 MB / 0.5463 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002954/0.3872, allocations: 271.2 kB / 0.5466 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004388/0.3876, allocations: 428.8 kB / 0.547 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00185/0.3895, allocations: 1.254 MB / 0.5482 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3895, allocations: 0 / 0.5482 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3895, allocations: 0 / 0.5482 GB, free: 10.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.3895, allocations: 0 / 0.5482 GB, free: 10.22 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002619/0.3921, allocations: 1.158 MB / 0.5494 GB, free: 9.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.3922, allocations: 9.625 kB / 0.5494 GB, free: 9.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.3936, allocations: 203.3 kB / 0.5496 GB, free: 9.242 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001258/0.3949, allocations: 0.578 MB / 0.5501 GB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.364e-05/0.3949, allocations: 49.12 kB / 0.5502 GB, free: 8.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.3951, allocations: 76.14 kB / 0.5503 GB, free: 8.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.3969, allocations: 0.8801 MB / 0.5511 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.3969, allocations: 1.125 kB / 0.5511 GB, free: 8.172 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.123e-05/0.397, allocations: 30.02 kB / 0.5511 GB, free: 8.148 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.158e-05/0.3971, allocations: 44.36 kB / 0.5512 GB, free: 8.137 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.3987, allocations: 0.7836 MB / 0.5519 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00543/0.4042, allocations: 3.156 MB / 0.555 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.4059, allocations: 0.716 MB / 0.5557 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00062/0.4066, allocations: 287.1 kB / 0.556 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.4066, allocations: 12.47 kB / 0.556 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.507e-05/0.4066, allocations: 39.06 kB / 0.5561 GB, free: 4.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.495e-06/0.4066, allocations: 0 / 0.5561 GB, free: 4.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.00546/0.4121, allocations: 2.32 MB / 0.5583 GB, free: 1.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.343e-05/0.4122, allocations: 115.3 kB / 0.5584 GB, free: 1.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008941/0.4131, allocations: 0.5822 MB / 0.559 GB, free: 1.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.4132, allocations: 37.7 kB / 0.559 GB, free: 1.125 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003149/0.4135, allocations: 368.8 kB / 0.5594 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/0.4137, allocations: 238 kB / 0.5596 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.4139, allocations: 118.7 kB / 0.5597 GB, free: 416 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002332/0.4141, allocations: 382.8 kB / 0.5601 GB, free: 24 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006497/0.4148, allocations: 280.7 kB / 0.5604 GB, free: 15.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007379/0.4155, allocations: 413.9 kB / 0.5608 GB, free: 15.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.4169, allocations: 0.6978 MB / 0.5614 GB, free: 14.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4169, allocations: 4 kB / 0.5614 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0018/0.4187, allocations: 0.8372 MB / 0.5623 GB, free: 13.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.4187, allocations: 8 kB / 0.5623 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.4187, allocations: 8 kB / 0.5623 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002988/0.419, allocations: 60.81 kB / 0.5623 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007669/0.4198, allocations: 176.1 kB / 0.5625 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00204/0.4218, allocations: 1.707 MB / 0.5642 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/0.4224, allocations: 56.02 kB / 0.5642 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.317e-05/0.4224, allocations: 27.94 kB / 0.5642 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008977/0.4233, allocations: 449.9 kB / 0.5647 GB, free: 11.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007269/0.4241, allocations: 398 kB / 0.5651 GB, free: 10.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001231/0.4253, allocations: 0.6706 MB / 0.5657 GB, free: 9.922 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/0.4253, allocations: 4 kB / 0.5657 GB, free: 9.918 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001728/0.427, allocations: 0.8097 MB / 0.5665 GB, free: 9.098 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.427, allocations: 7.312 kB / 0.5665 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4271, allocations: 8 kB / 0.5665 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002227/0.4273, allocations: 64.73 kB / 0.5666 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.428, allocations: 175.7 kB / 0.5667 GB, free: 8.848 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/0.4299, allocations: 1.695 MB / 0.5684 GB, free: 7.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005482/0.4304, allocations: 47.95 kB / 0.5684 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.4305, allocations: 24 kB / 0.5685 GB, free: 6.973 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (80): * Single equations (assignments): 79 * 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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002757/0.4307, allocations: 220.1 kB / 0.5687 GB, free: 6.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.4309, allocations: 75.53 kB / 0.5688 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.4327, allocations: 0.7785 MB / 0.5695 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.4327, allocations: 8 kB / 0.5695 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.4327, allocations: 0 / 0.5695 GB, free: 5.871 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.4327, allocations: 3.984 kB / 0.5695 GB, free: 5.867 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004583/0.4373, allocations: 2.111 MB / 0.5716 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.4373, allocations: 8 kB / 0.5716 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005938/0.4379, allocations: 131.9 kB / 0.5717 GB, free: 3.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.4382, allocations: 60.75 kB / 0.5718 GB, free: 3.426 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.4382, allocations: 23.94 kB / 0.5718 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.4404, allocations: 1.656 MB / 0.5734 GB, free: 1.633 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/0.4405, allocations: 15.92 kB / 0.5734 GB, free: 1.617 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002508/0.443, allocations: 1.322 MB / 0.5747 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003423/0.4433, allocations: 123.5 kB / 0.5748 GB, free: 76 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.622e-05/0.4434, allocations: 27.98 kB / 0.5749 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005063/0.4439, allocations: 47.97 kB / 0.5749 GB, free: 0 / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.4441, allocations: 75.64 kB / 0.575 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.4441, allocations: 27.94 kB / 0.575 GB, free: 15.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007276/0.4449, allocations: 423 kB / 0.5754 GB, free: 15.49 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4449, allocations: 4 kB / 0.5754 GB, free: 15.49 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001169/0.446, allocations: 248 kB / 0.5757 GB, free: 15.25 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 7 (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 (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001933/0.4462, allocations: 131 kB / 0.5758 GB, free: 15.11 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002692/0.4489, allocations: 1.221 MB / 0.577 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.4489, allocations: 0 / 0.577 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.45, allocations: 0.4919 MB / 0.5775 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009772/0.4509, allocations: 169.7 kB / 0.5776 GB, free: 13.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/0.4549, allocations: 1.723 MB / 0.5793 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.456, allocations: 0.9898 MB / 0.5803 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007304/0.4568, allocations: 144.8 kB / 0.5804 GB, free: 10.21 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.457, allocations: 59.42 kB / 0.5805 GB, free: 10.15 MB / 430.1 MB Notification: Performance of SimCode: time 1.663e-06/0.457, allocations: 0 / 0.5805 GB, free: 10.15 MB / 430.1 MB Notification: Performance of Templates: time 0.01952/0.4765, allocations: 9.202 MB / 0.5894 GB, free: 1 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.497587320394814] Failed to read output from testmodel.py, exit status != 0: 0.48603052366524935 0.501075456 0.10814277400000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff5d45bd7b0>