Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180504.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.001742/0.001742, allocations: 78.09 kB / 21.28 MB, free: 0.5273 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.002041/0.002041, allocations: 159.3 kB / 24.55 MB, free: 3.832 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.443/1.443, allocations: 177.2 MB / 204.9 MB, free: 9.301 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.1443/0.1443, allocations: 19.71 MB / 281 MB, free: 13.07 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.CISESim180504,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180504") translateModel(ThermoPower.Examples.CISE.Simulators.CISESim180504,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180504") [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.002141/0.002141, allocations: 67.91 kB / 417.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3043, allocations: 60.46 MB / 478.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.CISE.Simulators.CISESim180504): time 0.1642/0.4685, allocations: 138.5 MB / 0.6021 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.06112/0.5296, allocations: 37.49 MB / 0.6387 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004876/0.5345, allocations: 95.19 kB / 0.6388 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.3101/0.8446, allocations: 1.751 MB / 0.6405 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01022/0.8548, allocations: 3.714 MB / 0.6442 GB, free: 2.164 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.02937/0.8841, allocations: 12.12 MB / 0.656 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.02062/0.9048, allocations: 19.66 MB / 0.6752 GB, free: 2 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0101/0.9149, allocations: 5.276 MB / 0.6803 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02231/0.9372, allocations: 8.827 MB / 0.689 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01554/0.9527, allocations: 7.144 MB / 0.6959 GB, free: 0 / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.005332/0.958, allocations: 1.545 MB / 0.6975 GB, free: 0 / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0244/0.9824, allocations: 9.984 MB / 0.7072 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.007678/0.9901, allocations: 3.904 MB / 0.711 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01449/1.005, allocations: 4.509 MB / 0.7154 GB, free: 8.555 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04344/1.048, allocations: 20.77 MB / 0.7357 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/1.048, allocations: 3.938 kB / 0.7357 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.044e-06/1.048, allocations: 4 kB / 0.7357 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003446/1.048, allocations: 0 / 0.7357 GB, free: 4.434 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.06225/1.111, allocations: 13.44 MB / 0.7488 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/1.111, allocations: 8.031 kB / 0.7488 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02045/1.131, allocations: 2.4 MB / 0.7512 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01601/1.147, allocations: 5.034 MB / 0.7561 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006649/1.154, allocations: 3.741 MB / 0.7598 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004595/1.158, allocations: 0.5442 MB / 0.7603 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07447/1.233, allocations: 24.07 MB / 0.7838 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002188/1.233, allocations: 6.75 kB / 0.7838 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004645/1.238, allocations: 211.8 kB / 0.784 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004452/1.238, allocations: 302.6 kB / 0.7843 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09703/1.335, allocations: 33.45 MB / 0.817 GB, free: 0.5312 MB / 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.1413/1.477, allocations: 63.53 MB / 0.879 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05835/1.535, allocations: 18.7 MB / 0.8973 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2627/1.798, allocations: 11.87 MB / 0.9089 GB, free: 340.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1466/1.944, allocations: 48.98 MB / 0.9567 GB, free: 314.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/1.944, allocations: 97.55 kB / 0.9568 GB, free: 314.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=586): time 9.248e-06/1.944, allocations: 0 / 0.9568 GB, free: 314.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=600): time 0.2403/2.185, allocations: 74.82 MB / 1.03 GB, free: 240.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/2.185, allocations: 292 kB / 1.03 GB, free: 240.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002774/2.187, allocations: 2.371 MB / 1.032 GB, free: 237.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.003361/2.191, allocations: 133.7 kB / 1.033 GB, free: 237.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00108/2.192, allocations: 1.899 MB / 1.034 GB, free: 236 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.004461/2.196, allocations: 2.171 MB / 1.037 GB, free: 234.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00905/2.205, allocations: 2.072 MB / 1.039 GB, free: 232 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.132e-05/2.205, allocations: 305.1 kB / 1.039 GB, free: 231.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02747/2.233, allocations: 13.04 MB / 1.052 GB, free: 218.7 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02941/2.262, allocations: 14.14 MB / 1.065 GB, free: 204.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05372/2.316, allocations: 22.66 MB / 1.088 GB, free: 181.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.741e-05/2.316, allocations: 4 kB / 1.088 GB, free: 181.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.09563/2.412, allocations: 36.47 MB / 1.123 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/2.412, allocations: 8 kB / 1.123 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.339e-05/2.412, allocations: 16 kB / 1.123 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4589/2.871, allocations: 102.9 MB / 1.224 GB, free: 41.83 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03397/2.905, allocations: 5.156 MB / 1.229 GB, free: 36.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06924/2.974, allocations: 33.3 MB / 1.261 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01724/2.991, allocations: 2.029 MB / 1.263 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2747/3.266, allocations: 0.7169 MB / 1.264 GB, free: 332.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03379/3.3, allocations: 14.18 MB / 1.278 GB, free: 330.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02937/3.329, allocations: 14.06 MB / 1.291 GB, free: 324.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05211/3.381, allocations: 22.48 MB / 1.313 GB, free: 309.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.895e-05/3.381, allocations: 8 kB / 1.313 GB, free: 309.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=719) (initialization_lambda0): time 0.1334/3.515, allocations: 45.05 MB / 1.357 GB, free: 264.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/3.515, allocations: 12 kB / 1.357 GB, free: 264.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/3.515, allocations: 12 kB / 1.357 GB, free: 264.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.13/3.645, allocations: 55.5 MB / 1.412 GB, free: 208.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0354/3.68, allocations: 5.465 MB / 1.417 GB, free: 203.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09889/3.779, allocations: 31.08 MB / 1.447 GB, free: 172.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03084/3.81, allocations: 2.032 MB / 1.449 GB, free: 170.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006071/3.816, allocations: 0.7137 MB / 1.45 GB, free: 169.4 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.01001/3.826, allocations: 490.4 kB / 1.45 GB, free: 168.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007627/3.833, allocations: 456.1 kB / 1.451 GB, free: 168.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1956/4.029, allocations: 79.46 MB / 1.529 GB, free: 89.28 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003217/4.029, allocations: 39.81 kB / 1.529 GB, free: 89.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.793e-05/4.029, allocations: 0 / 1.529 GB, free: 89.24 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01466/4.044, allocations: 2.728 MB / 1.531 GB, free: 86.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006449/4.05, allocations: 156.6 kB / 1.531 GB, free: 86.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03201/4.082, allocations: 2.329 MB / 1.534 GB, free: 84.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006204/4.089, allocations: 0.7569 MB / 1.534 GB, free: 83.54 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1748/4.263, allocations: 33.91 MB / 1.567 GB, free: 49.61 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1027/4.366, allocations: 42.08 MB / 1.609 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2525/4.619, allocations: 13.71 MB / 1.622 GB, free: 325.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002198/4.621, allocations: 1.574 MB / 1.624 GB, free: 325.2 MB / 0.7325 GB Notification: Performance of Backend: time 3.2e-07/4.621, allocations: 0 / 1.624 GB, free: 325.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.08522/4.706, allocations: 33.86 MB / 1.657 GB, free: 315.7 MB / 0.7325 GB Notification: Performance of SimCode: time 0.02013/4.726, allocations: 15.5 MB / 1.672 GB, free: 302.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.6645/5.391, allocations: 469.8 MB / 2.131 GB, free: 182.3 MB / 0.7325 GB " [Timeout remaining time 655] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180504.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180504.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180504.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180504.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180504.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180504 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180504.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 77.95838049903978] Failed to read output from testmodel.py, exit status != 0: 5.401148256962188 5.409971119 4.359027569 Calling exit ...