Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.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.001423/0.001423, allocations: 74.97 kB / 21.28 MB, free: 0.5156 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.001542/0.001542, allocations: 163 kB / 24.55 MB, free: 3.809 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.413/1.413, allocations: 177.2 MB / 204.9 MB, free: 9.27 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.1398/0.1398, allocations: 19.71 MB / 281 MB, free: 13.05 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.CISESim2States120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim2States120501") translateModel(ThermoPower.Examples.CISE.Simulators.CISESim2States120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim2States120501") [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.002237/0.002237, allocations: 67.91 kB / 417.6 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2632, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Examples.CISE.Simulators.CISESim2States120501): time 0.08049/0.3437, allocations: 69.82 MB / 0.5351 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.03292/0.3766, allocations: 21.38 MB / 0.556 GB, free: 6.797 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.3784, allocations: 47.62 kB / 0.556 GB, free: 6.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002815/0.3812, allocations: 0.7878 MB / 0.5568 GB, free: 5.957 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004918/0.3862, allocations: 1.624 MB / 0.5584 GB, free: 4.324 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02358/0.4097, allocations: 8.152 MB / 0.5663 GB, free: 12.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01172/0.4215, allocations: 9.107 MB / 0.5752 GB, free: 3.039 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004432/0.4259, allocations: 2.501 MB / 0.5777 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009299/0.4352, allocations: 4.222 MB / 0.5818 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006511/0.4417, allocations: 3.28 MB / 0.585 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001966/0.4437, allocations: 0.7227 MB / 0.5857 GB, free: 8.262 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01768/0.4613, allocations: 7.922 MB / 0.5934 GB, free: 340 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003103/0.4644, allocations: 1.813 MB / 0.5952 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.004547/0.469, allocations: 2.107 MB / 0.5972 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02192/0.4909, allocations: 11.57 MB / 0.6085 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.4909, allocations: 0 / 0.6085 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4909, allocations: 0 / 0.6085 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002061/0.4911, allocations: 0 / 0.6085 GB, free: 0.8008 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 632 * Number of variables: 632 Notification: Performance of Generate backend data structure: time 0.02908/0.5202, allocations: 6.685 MB / 0.6151 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.5203, allocations: 8.031 kB / 0.6151 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008087/0.5284, allocations: 1.064 MB / 0.6161 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008099/0.5365, allocations: 2.527 MB / 0.6186 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003272/0.5397, allocations: 2.102 MB / 0.6206 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002001/0.5417, allocations: 259.9 kB / 0.6209 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03352/0.5752, allocations: 11.2 MB / 0.6318 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.022e-05/0.5753, allocations: 0 / 0.6318 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001434/0.5768, allocations: 96 kB / 0.6319 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001675/0.5769, allocations: 128.9 kB / 0.632 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2681/0.8451, allocations: 15.73 MB / 0.6474 GB, free: 154.2 MB / 0.5294 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.04719/0.8923, allocations: 29.07 MB / 0.6758 GB, free: 129.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02045/0.9127, allocations: 8.54 MB / 0.6841 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01232/0.925, allocations: 5.811 MB / 0.6898 GB, free: 115.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1421/1.067, allocations: 48.46 MB / 0.7371 GB, free: 66.9 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.242e-05/1.067, allocations: 72.66 kB / 0.7372 GB, free: 66.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=270): time 5.59e-06/1.067, allocations: 0 / 0.7372 GB, free: 66.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=282): time 0.1156/1.183, allocations: 37.44 MB / 0.7738 GB, free: 29.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/1.183, allocations: 166.7 kB / 0.7739 GB, free: 29.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/1.184, allocations: 1.265 MB / 0.7752 GB, free: 27.83 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001283/1.186, allocations: 77.7 kB / 0.7752 GB, free: 27.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004289/1.186, allocations: 0.9532 MB / 0.7762 GB, free: 26.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001339/1.187, allocations: 1.014 MB / 0.7772 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002038/1.189, allocations: 0.981 MB / 0.7781 GB, free: 25.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.28e-05/1.189, allocations: 309.1 kB / 0.7784 GB, free: 24.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01298/1.202, allocations: 6.351 MB / 0.7846 GB, free: 18.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01399/1.216, allocations: 6.867 MB / 0.7913 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3587/1.575, allocations: 71.7 MB / 0.8613 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.428e-05/1.575, allocations: 4 kB / 0.8613 GB, free: 3.496 MB / 0.5919 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.2853/1.86, allocations: 16.57 MB / 0.8775 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/1.86, allocations: 7.188 kB / 0.8775 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/1.86, allocations: 7.844 kB / 0.8775 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05962/1.92, allocations: 23.42 MB / 0.9004 GB, free: 192 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02999/1.95, allocations: 4.448 MB / 0.9048 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02582/1.976, allocations: 15.34 MB / 0.9197 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008402/1.984, allocations: 1.064 MB / 0.9208 GB, free: 171 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00165/1.986, allocations: 355.4 kB / 0.9211 GB, free: 170.7 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.Plant.SH.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01542/2.001, allocations: 6.936 MB / 0.9279 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01423/2.016, allocations: 6.847 MB / 0.9346 GB, free: 156.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.326/2.342, allocations: 70.97 MB / 1.004 GB, free: 85.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.244e-05/2.342, allocations: 0 / 1.004 GB, free: 85.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=339) (initialization_lambda0): time 0.08521/2.427, allocations: 23.89 MB / 1.027 GB, free: 61.74 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/2.427, allocations: 10.66 kB / 1.027 GB, free: 61.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/2.427, allocations: 8 kB / 1.027 GB, free: 61.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03921/2.466, allocations: 18.36 MB / 1.045 GB, free: 43.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02974/2.496, allocations: 4.614 MB / 1.05 GB, free: 38.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02247/2.518, allocations: 14.58 MB / 1.064 GB, free: 23.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008327/2.527, allocations: 1.073 MB / 1.065 GB, free: 22.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001753/2.528, allocations: 347.4 kB / 1.065 GB, free: 22.48 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.Plant.SH.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 15 (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.Pipe2Valve.friction.NoFriction,Plant.SH.friction.NoFriction,Plant.SH.heatTransfer.dew.phase,Plant.SH.heatTransfer.bubble.phase,Plant.Pipe2SH.friction.NoFriction,Plant.Valve.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (237): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (1,8), (5,70), (2,13)} Notification: Performance of prepare postOptimizeDAE: time 0.001957/2.53, allocations: 334.6 kB / 1.066 GB, free: 22.15 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/2.532, allocations: 226.2 kB / 1.066 GB, free: 22.05 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2916/2.823, allocations: 37.24 MB / 1.102 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001031/2.823, allocations: 16.86 kB / 1.102 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/2.823, allocations: 3.531 kB / 1.102 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003754/2.827, allocations: 1.338 MB / 1.104 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001062/2.828, allocations: 72.52 kB / 1.104 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007615/2.836, allocations: 1.196 MB / 1.105 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001471/2.837, allocations: 385 kB / 1.105 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04622/2.883, allocations: 17.06 MB / 1.122 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04126/2.925, allocations: 20.48 MB / 1.142 GB, free: 172.3 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01347/2.938, allocations: 6.688 MB / 1.148 GB, free: 165.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001024/2.939, allocations: 0.8529 MB / 1.149 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of Backend: time 5.31e-07/2.939, allocations: 0 / 1.149 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.04258/2.982, allocations: 17.14 MB / 1.166 GB, free: 148 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0102/2.992, allocations: 7.556 MB / 1.173 GB, free: 140.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.4679/3.46, allocations: 241.1 MB / 1.409 GB, free: 122 MB / 0.5919 GB " [Timeout remaining time 657] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim2States120501 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Examples.CISE.Simulators.CISESim2States120501.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 15.59559172601439] Failed to read output from testmodel.py, exit status != 0: 3.470147136016749 3.479800498 2.986127793 Calling exit ...