Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180503.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.001403/0.001403, allocations: 79.05 kB / 21.28 MB, free: 380 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.001476/0.001476, 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.414/1.414, 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.1415/0.1415, allocations: 19.7 MB / 281 MB, free: 13.03 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.CISESim180503,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180503") translateModel(ThermoPower.Examples.CISE.Simulators.CISESim180503,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180503") [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.00228/0.00228, allocations: 64.14 kB / 417.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3368, allocations: 60.46 MB / 478.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.CISE.Simulators.CISESim180503): time 0.164/0.5008, allocations: 138.5 MB / 0.6021 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.05745/0.5583, allocations: 37.5 MB / 0.6387 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003615/0.5619, allocations: 91.25 kB / 0.6388 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.3414/0.9033, allocations: 1.75 MB / 0.6405 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0161/0.9194, allocations: 3.707 MB / 0.6441 GB, free: 2.031 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.05071/0.9701, allocations: 12.13 MB / 0.656 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0272/0.9973, allocations: 19.67 MB / 0.6752 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009517/1.007, allocations: 5.271 MB / 0.6803 GB, free: 17.69 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01947/1.026, allocations: 8.826 MB / 0.689 GB, free: 17.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01383/1.04, allocations: 7.124 MB / 0.6959 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.005065/1.045, allocations: 1.544 MB / 0.6974 GB, free: 15.77 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02525/1.07, allocations: 9.979 MB / 0.7072 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.007064/1.078, allocations: 3.897 MB / 0.711 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.01119/1.089, allocations: 4.507 MB / 0.7154 GB, free: 8.516 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.03673/1.125, allocations: 20.78 MB / 0.7357 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/1.125, allocations: 7.375 kB / 0.7357 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.623e-06/1.125, allocations: 4 kB / 0.7357 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003385/1.126, allocations: 0 / 0.7357 GB, free: 4.383 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.06205/1.188, allocations: 13.43 MB / 0.7488 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/1.188, allocations: 8.031 kB / 0.7488 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02062/1.209, allocations: 2.393 MB / 0.7511 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01723/1.226, allocations: 5.041 MB / 0.7561 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006693/1.232, allocations: 3.746 MB / 0.7597 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004979/1.237, allocations: 0.5387 MB / 0.7603 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07644/1.314, allocations: 24.07 MB / 0.7838 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002214/1.314, allocations: 7.281 kB / 0.7838 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003876/1.318, allocations: 215.3 kB / 0.784 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004565/1.318, allocations: 306.6 kB / 0.7843 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1005/1.419, allocations: 33.44 MB / 0.8169 GB, free: 0.4961 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.1445/1.563, allocations: 63.54 MB / 0.879 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06012/1.623, allocations: 18.7 MB / 0.8972 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2674/1.891, allocations: 11.86 MB / 0.9088 GB, free: 340.2 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.146/2.037, allocations: 48.97 MB / 0.9566 GB, free: 314.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/2.037, allocations: 103 kB / 0.9567 GB, free: 314.5 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=586): time 1.718e-05/2.037, allocations: 0 / 0.9567 GB, free: 314.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=600): time 0.2446/2.282, allocations: 74.82 MB / 1.03 GB, free: 240.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/2.282, allocations: 295.9 kB / 1.03 GB, free: 240.1 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003378/2.285, allocations: 2.369 MB / 1.032 GB, free: 237.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.003155/2.288, allocations: 133.7 kB / 1.033 GB, free: 237.6 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009681/2.289, allocations: 1.904 MB / 1.034 GB, free: 235.9 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.004337/2.294, allocations: 2.167 MB / 1.037 GB, free: 234 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01021/2.304, allocations: 2.072 MB / 1.039 GB, free: 232 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.811e-05/2.304, allocations: 301.1 kB / 1.039 GB, free: 231.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02817/2.332, allocations: 13.04 MB / 1.052 GB, free: 218.6 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02908/2.361, allocations: 14.14 MB / 1.065 GB, free: 204.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05328/2.414, allocations: 22.66 MB / 1.087 GB, free: 181.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.997e-05/2.414, allocations: 4 kB / 1.087 GB, free: 181.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=719) (initialization): time 0.09489/2.509, allocations: 36.47 MB / 1.123 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/2.509, allocations: 10.34 kB / 1.123 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.782e-05/2.509, allocations: 16 kB / 1.123 GB, free: 144.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4908/3, allocations: 102.9 MB / 1.224 GB, free: 41.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03544/3.036, allocations: 5.152 MB / 1.229 GB, free: 36.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07815/3.114, allocations: 33.31 MB / 1.261 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01815/3.132, allocations: 2.023 MB / 1.263 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2633/3.395, allocations: 0.7156 MB / 1.264 GB, free: 332.2 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03639/3.432, allocations: 14.18 MB / 1.278 GB, free: 330.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03164/3.463, allocations: 14.06 MB / 1.291 GB, free: 324.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.056/3.519, allocations: 22.49 MB / 1.313 GB, free: 309 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.031e-05/3.519, allocations: 4 kB / 1.313 GB, free: 309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=719) (initialization_lambda0): time 0.1417/3.661, allocations: 45.05 MB / 1.357 GB, free: 264.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/3.661, allocations: 12.78 kB / 1.357 GB, free: 264.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.879e-05/3.661, allocations: 20.16 kB / 1.357 GB, free: 264.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1336/3.795, allocations: 55.5 MB / 1.412 GB, free: 208.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0358/3.83, allocations: 5.453 MB / 1.417 GB, free: 203.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06503/3.895, allocations: 31.08 MB / 1.447 GB, free: 172.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01775/3.913, allocations: 2.032 MB / 1.449 GB, free: 170 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004523/3.918, allocations: 0.7137 MB / 1.45 GB, free: 169.3 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.008181/3.926, allocations: 0.4906 MB / 1.45 GB, free: 168.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005145/3.931, allocations: 448 kB / 1.451 GB, free: 168.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1199/4.051, allocations: 79.47 MB / 1.528 GB, free: 89.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002665/4.051, allocations: 35.81 kB / 1.529 GB, free: 89.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.84e-05/4.051, allocations: 0 / 1.529 GB, free: 89.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009189/4.06, allocations: 2.729 MB / 1.531 GB, free: 86.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004134/4.064, allocations: 158.5 kB / 1.531 GB, free: 86.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01782/4.082, allocations: 2.329 MB / 1.534 GB, free: 84.2 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004554/4.087, allocations: 0.7635 MB / 1.534 GB, free: 83.44 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1014/4.188, allocations: 33.9 MB / 1.567 GB, free: 49.51 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1001/4.288, allocations: 42.08 MB / 1.609 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.2705/4.559, allocations: 13.71 MB / 1.622 GB, free: 325.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002672/4.561, allocations: 1.575 MB / 1.623 GB, free: 325.1 MB / 0.7325 GB Notification: Performance of Backend: time 5.61e-07/4.561, allocations: 0 / 1.623 GB, free: 325.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.09153/4.653, allocations: 33.85 MB / 1.657 GB, free: 315.6 MB / 0.7325 GB Notification: Performance of SimCode: time 0.02397/4.677, allocations: 15.5 MB / 1.672 GB, free: 302.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.7261/5.403, allocations: 469.8 MB / 2.13 GB, free: 182.1 MB / 0.7325 GB " [Timeout remaining time 655] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180503.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180503.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180503.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180503.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180503.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180503 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim180503.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 116.69798766600434] Failed to read output from testmodel.py, exit status != 0: 5.41392977302894 5.423339518 4.295082887 Calling exit ...