Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim120501.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.001535/0.001535, allocations: 75.44 kB / 21.28 MB, free: 376 kB / 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.002141/0.002141, allocations: 163.7 kB / 24.54 MB, free: 3.582 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.519/1.519, allocations: 177.2 MB / 204.9 MB, free: 9.254 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1575/0.1575, allocations: 19.71 MB / 281 MB, free: 13.04 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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: translateModel(ThermoPower.Examples.CISE.Simulators.CISESim120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim120501") translateModel(ThermoPower.Examples.CISE.Simulators.CISESim120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim120501") [Timeout 660] "Notification: ThermoPower 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.002153/0.002153, allocations: 75.88 kB / 417.6 MB, free: 0.668 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3383, allocations: 60.45 MB / 478.1 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.CISE.Simulators.CISESim120501): time 0.1649/0.5032, allocations: 138.4 MB / 0.6021 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.06342/0.5666, allocations: 37.5 MB / 0.6387 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004484/0.5711, allocations: 87.25 kB / 0.6388 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.2992/0.8703, allocations: 1.749 MB / 0.6405 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009836/0.8802, allocations: 3.71 MB / 0.6441 GB, free: 2.051 MB / 0.5294 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/FluidPh.mo:4206:5-4207:44:writable] Warning: In relation Plant.Drum.gl == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/FluidPh.mo:4208:5-4209:44:writable] Warning: In relation Plant.Drum.gv == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.02872/0.9089, allocations: 12.12 MB / 0.656 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01846/0.9273, allocations: 19.67 MB / 0.6752 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008445/0.9358, allocations: 5.271 MB / 0.6803 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02373/0.9595, allocations: 8.83 MB / 0.6889 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01862/0.9782, allocations: 7.172 MB / 0.6959 GB, free: 0 / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.008474/0.9866, allocations: 1.544 MB / 0.6975 GB, free: 0 / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03056/1.017, allocations: 9.978 MB / 0.7072 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.008787/1.026, allocations: 3.9 MB / 0.711 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01422/1.04, allocations: 4.511 MB / 0.7154 GB, free: 8.469 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04663/1.087, allocations: 20.78 MB / 0.7357 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/1.087, allocations: 0 / 0.7357 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.924e-06/1.087, allocations: 0 / 0.7357 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004228/1.087, allocations: 0 / 0.7357 GB, free: 4.344 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1384 * Number of variables: 1384 Notification: Performance of Generate backend data structure: time 0.06698/1.154, allocations: 13.44 MB / 0.7488 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/1.154, allocations: 8.031 kB / 0.7488 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02122/1.176, allocations: 2.392 MB / 0.7512 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0178/1.193, allocations: 5.039 MB / 0.7561 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007103/1.2, allocations: 3.742 MB / 0.7598 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005151/1.206, allocations: 0.5384 MB / 0.7603 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08053/1.286, allocations: 24.07 MB / 0.7838 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002835/1.286, allocations: 0 / 0.7838 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004957/1.291, allocations: 211.1 kB / 0.784 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000479/1.292, allocations: 306.6 kB / 0.7843 GB, free: 1.926 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1127/1.405, allocations: 33.45 MB / 0.8169 GB, free: 464 kB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1596/1.564, allocations: 63.54 MB / 0.879 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06244/1.627, allocations: 18.69 MB / 0.8973 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4053/2.032, allocations: 11.87 MB / 0.9088 GB, free: 340.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1531/2.185, allocations: 48.97 MB / 0.9567 GB, free: 314.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/2.185, allocations: 100.3 kB / 0.9568 GB, free: 314.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=586): time 1.029e-05/2.185, allocations: 4 kB / 0.9568 GB, free: 314.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=600): time 0.2585/2.444, allocations: 74.81 MB / 1.03 GB, free: 240.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/2.444, allocations: 300 kB / 1.03 GB, free: 240.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003982/2.448, allocations: 2.37 MB / 1.032 GB, free: 237.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.004216/2.452, allocations: 133.7 kB / 1.033 GB, free: 237.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001357/2.453, allocations: 1.897 MB / 1.034 GB, free: 235.8 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.006047/2.459, allocations: 2.171 MB / 1.037 GB, free: 234 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01327/2.473, allocations: 2.068 MB / 1.039 GB, free: 231.9 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.732e-05/2.473, allocations: 305.1 kB / 1.039 GB, free: 231.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02862/2.501, allocations: 13.04 MB / 1.052 GB, free: 218.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03045/2.532, allocations: 14.14 MB / 1.065 GB, free: 204.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05624/2.588, allocations: 22.66 MB / 1.088 GB, free: 181.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.935e-05/2.588, allocations: 4 kB / 1.088 GB, free: 181.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.1008/2.689, allocations: 36.46 MB / 1.123 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.035e-05/2.689, allocations: 10.34 kB / 1.123 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.534e-05/2.689, allocations: 20.16 kB / 1.123 GB, free: 144.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4701/3.159, allocations: 102.9 MB / 1.224 GB, free: 41.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03403/3.193, allocations: 5.149 MB / 1.229 GB, free: 36.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07346/3.267, allocations: 33.3 MB / 1.261 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3486/3.615, allocations: 2.027 MB / 1.263 GB, free: 332.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006045/3.621, allocations: 0.7223 MB / 1.264 GB, free: 332.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03912/3.66, allocations: 14.18 MB / 1.278 GB, free: 330.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03133/3.692, allocations: 14.05 MB / 1.291 GB, free: 324.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05676/3.748, allocations: 22.48 MB / 1.313 GB, free: 309 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.343e-05/3.748, allocations: 4 kB / 1.313 GB, free: 309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=719) (initialization_lambda0): time 0.1476/3.896, allocations: 45.05 MB / 1.357 GB, free: 264.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/3.896, allocations: 12.78 kB / 1.357 GB, free: 264.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.575e-05/3.896, allocations: 13.09 kB / 1.357 GB, free: 264.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1357/4.032, allocations: 55.51 MB / 1.412 GB, free: 208.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0358/4.068, allocations: 5.449 MB / 1.417 GB, free: 203.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0721/4.14, allocations: 31.09 MB / 1.447 GB, free: 172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01827/4.158, allocations: 2.029 MB / 1.449 GB, free: 169.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004946/4.163, allocations: 0.7137 MB / 1.45 GB, free: 169.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 34 (Plant.Pipe2Valve.fluidState[2].phase,Plant.Pipe2Valve.fluidState[1].phase,Plant.SH.fluidState[5].phase,Plant.SH.fluidState[4].phase,Plant.SH.fluidState[3].phase,Plant.SH.fluidState[2].phase,Plant.SH.fluidState[1].phase,Plant.Pipe2SH.fluidState[2].phase,Plant.Pipe2SH.fluidState[1].phase,Plant.Pipe2Drum.fluidState[2].phase,Plant.Pipe2Drum.fluidState[1].phase,Plant.Risers.fluidState[7].phase,Plant.Risers.fluidState[6].phase,Plant.Risers.fluidState[5].phase,Plant.Risers.fluidState[4].phase,Plant.Risers.fluidState[3].phase,Plant.Risers.fluidState[2].phase,Plant.Risers.fluidState[1].phase,Plant.Downcomer.fluidState[2].phase,Plant.Downcomer.fluidState[1].phase,Plant.HeaderUpper.fluidState.phase,Plant.HeaderLower.fluidState.phase,Plant.Pipe2Valve.friction.NoFriction,Plant.SH.friction.NoFriction,Plant.SH.heatTransfer.dew.phase,Plant.SH.heatTransfer.bubble.phase,Plant.Pipe2SH.friction.NoFriction,Plant.Pipe2Drum.friction.NoFriction,Plant.Risers.friction.NoFriction,Plant.Downcomer.friction.NoFriction,Plant.Valve.fluidState.phase,Plant.PressDrop.state.phase,Plant.Drum.vapourState.phase,Plant.Drum.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (423): * Single equations (assignments): 414 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(1,3), (1,5), (5,69), (2,13), (16,179)} Notification: Performance of prepare postOptimizeDAE: time 0.00902/4.172, allocations: 492.1 kB / 1.45 GB, free: 168.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006225/4.178, allocations: 452.9 kB / 1.451 GB, free: 168.5 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1295/4.308, allocations: 79.45 MB / 1.529 GB, free: 89.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002936/4.308, allocations: 35.81 kB / 1.529 GB, free: 89.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-05/4.308, allocations: 0 / 1.529 GB, free: 89.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01003/4.318, allocations: 2.736 MB / 1.531 GB, free: 86.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006728/4.325, allocations: 148 kB / 1.531 GB, free: 86.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02115/4.346, allocations: 2.344 MB / 1.534 GB, free: 84.13 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005226/4.351, allocations: 0.7569 MB / 1.534 GB, free: 83.37 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1167/4.468, allocations: 33.92 MB / 1.568 GB, free: 49.44 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1149/4.583, allocations: 42.07 MB / 1.609 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.4347/5.018, allocations: 13.71 MB / 1.622 GB, free: 325.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003091/5.021, allocations: 1.579 MB / 1.624 GB, free: 325.2 MB / 0.7325 GB Notification: Performance of Backend: time 4.61e-07/5.021, allocations: 0 / 1.624 GB, free: 325.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.1025/5.123, allocations: 33.83 MB / 1.657 GB, free: 315.7 MB / 0.7325 GB Notification: Performance of SimCode: time 0.03129/5.154, allocations: 15.51 MB / 1.672 GB, free: 302.4 MB / 0.7325 GB Notification: Performance of Templates: time 0.8208/5.975, allocations: 469.8 MB / 2.131 GB, free: 182 MB / 0.7325 GB " [Timeout remaining time 654] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim120501.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim120501.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim120501.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim120501.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim120501.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim120501 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim120501.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 27.356728811049834] Failed to read output from testmodel.py, exit status != 0: 5.986216954072006 5.995548117 4.905848479 Calling exit ...