Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.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.001327/0.001327, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001505/0.001505, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 207.7 MB / 235.3 MB, free: 9.773 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2836/0.2836, allocations: 49.6 MB / 337.2 MB, free: 3.859 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") translateModel(ThermoPower.Test.WaterComponents.ValveZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002286/0.002286, allocations: 76.45 kB / 477.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1035, allocations: 62.42 MB / 0.5274 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.ValveZeroFlow): time 0.2235/0.327, allocations: 38.48 MB / 0.565 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01269/0.3397, allocations: 8.744 MB / 0.5735 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005035/0.3402, allocations: 19.34 kB / 0.5735 GB, free: 11.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007812/0.341, allocations: 208.3 kB / 0.5737 GB, free: 11.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000847/0.3418, allocations: 308.3 kB / 0.574 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01254/0.3544, allocations: 4.711 MB / 0.5786 GB, free: 8.441 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.3554, allocations: 0.7619 MB / 0.5793 GB, free: 8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.3558, allocations: 196.1 kB / 0.5795 GB, free: 7.871 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003893/0.3562, allocations: 291.3 kB / 0.5798 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.3566, allocations: 282.4 kB / 0.5801 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.661e-05/0.3566, allocations: 28 kB / 0.5801 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01129/0.3679, allocations: 5.949 MB / 0.5859 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.368, allocations: 84.08 kB / 0.586 GB, free: 4.523 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003604/0.3684, allocations: 201.5 kB / 0.5862 GB, free: 4.414 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007149/0.3755, allocations: 3.765 MB / 0.5899 GB, free: 2.023 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3756, allocations: 8 kB / 0.5899 GB, free: 2.016 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3756, allocations: 1.469 kB / 0.5899 GB, free: 2.016 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.3756, allocations: 0 / 0.5899 GB, free: 2.016 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.002991/0.3786, allocations: 1.122 MB / 0.591 GB, free: 1.211 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.3786, allocations: 9.75 kB / 0.591 GB, free: 1.211 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000279/0.3789, allocations: 79.08 kB / 0.5911 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005899/0.3795, allocations: 323.6 kB / 0.5914 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.3795, allocations: 21.94 kB / 0.5914 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.935e-05/0.3795, allocations: 33.28 kB / 0.5914 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007755/0.3803, allocations: 386.2 kB / 0.5918 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3803, allocations: 0 / 0.5918 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.3803, allocations: 15.31 kB / 0.5918 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.3804, allocations: 12.8 kB / 0.5918 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006369/0.381, allocations: 254.3 kB / 0.5921 GB, free: 484 kB / 430.1 MB 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.001768/0.3828, allocations: 1.225 MB / 0.5933 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004534/0.3832, allocations: 151 kB / 0.5934 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.3834, allocations: 68.05 kB / 0.5935 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06026/0.4436, allocations: 16.81 MB / 0.6099 GB, free: 260 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.4437, allocations: 42.55 kB / 0.6099 GB, free: 208 kB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.953e-06/0.4437, allocations: 0 / 0.6099 GB, free: 208 kB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.002453/0.4461, allocations: 0.4908 MB / 0.6104 GB, free: 15.7 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.4462, allocations: 55.41 kB / 0.6104 GB, free: 15.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.4465, allocations: 325.7 kB / 0.6108 GB, free: 15.31 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.4466, allocations: 29.7 kB / 0.6108 GB, free: 15.27 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.4468, allocations: 232.5 kB / 0.611 GB, free: 15.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.921e-05/0.4468, allocations: 51.53 kB / 0.6111 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/0.4469, allocations: 53.64 kB / 0.6111 GB, free: 14.93 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4471, allocations: 342.8 kB / 0.6114 GB, free: 14.59 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001919/0.4473, allocations: 84.69 kB / 0.6115 GB, free: 14.5 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.4475, allocations: 108.2 kB / 0.6116 GB, free: 14.38 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.4478, allocations: 184.1 kB / 0.6118 GB, free: 14.18 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4479, allocations: 0 / 0.6118 GB, free: 14.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000638/0.4485, allocations: 294 kB / 0.6121 GB, free: 13.89 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.4485, allocations: 4 kB / 0.6121 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.4485, allocations: 4.547 kB / 0.6121 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00241/0.4509, allocations: 328.6 kB / 0.6124 GB, free: 13.55 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.4512, allocations: 59.89 kB / 0.6125 GB, free: 13.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008912/0.4521, allocations: 0.6498 MB / 0.6131 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003039/0.4524, allocations: 24.72 kB / 0.6131 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.4524, allocations: 8 kB / 0.6131 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002621/0.4527, allocations: 164.1 kB / 0.6133 GB, free: 12.62 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001985/0.4529, allocations: 119.6 kB / 0.6134 GB, free: 12.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000346/0.4532, allocations: 179.6 kB / 0.6136 GB, free: 12.28 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.377e-06/0.4532, allocations: 3.938 kB / 0.6136 GB, free: 12.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.0007805/0.454, allocations: 294 kB / 0.6138 GB, free: 11.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.454, allocations: 4.25 kB / 0.6138 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.454, allocations: 8 kB / 0.6139 GB, free: 11.96 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003562/0.4544, allocations: 80.7 kB / 0.6139 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.4546, allocations: 59.89 kB / 0.614 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.4564, allocations: 1.437 MB / 0.6154 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002614/0.4566, allocations: 23.91 kB / 0.6154 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.4566, allocations: 8 kB / 0.6154 GB, free: 10.26 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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 {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.4568, allocations: 192.2 kB / 0.6156 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.4569, allocations: 43.77 kB / 0.6156 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.4582, allocations: 0.8967 MB / 0.6165 GB, free: 9.117 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.4582, allocations: 11.92 kB / 0.6165 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.4582, allocations: 0 / 0.6165 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.4582, allocations: 4 kB / 0.6165 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005216/0.4587, allocations: 434.1 kB / 0.617 GB, free: 8.648 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.4587, allocations: 4 kB / 0.617 GB, free: 8.645 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.257e-05/0.4588, allocations: 27.92 kB / 0.617 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001504/0.4603, allocations: 0.5031 MB / 0.6175 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.4603, allocations: 8 kB / 0.6175 GB, free: 8.102 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.4614, allocations: 1.097 MB / 0.6186 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4614, allocations: 0 / 0.6186 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.4625, allocations: 0.7716 MB / 0.6193 GB, free: 6.188 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.674e-05/0.4626, allocations: 51.58 kB / 0.6194 GB, free: 6.137 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.844e-05/0.4627, allocations: 7.953 kB / 0.6194 GB, free: 6.129 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.4629, allocations: 19.23 kB / 0.6194 GB, free: 6.113 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.863e-05/0.4629, allocations: 15.97 kB / 0.6194 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.4629, allocations: 4 kB / 0.6194 GB, free: 6.094 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003186/0.4633, allocations: 283.2 kB / 0.6197 GB, free: 5.816 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4633, allocations: 3.938 kB / 0.6197 GB, free: 5.812 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003004/0.4663, allocations: 0.9707 MB / 0.6206 GB, free: 4.84 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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 {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003625/0.4699, allocations: 0.9621 MB / 0.6216 GB, free: 3.867 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.4713, allocations: 469.8 kB / 0.622 GB, free: 3.395 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4713, allocations: 4 kB / 0.622 GB, free: 3.391 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003594/0.4717, allocations: 164 kB / 0.6222 GB, free: 3.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000935/0.4726, allocations: 171.6 kB / 0.6223 GB, free: 3.062 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.474, allocations: 0.9072 MB / 0.6232 GB, free: 2.117 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000241/0.4743, allocations: 242.4 kB / 0.6235 GB, free: 1.852 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.708e-05/0.4743, allocations: 39.38 kB / 0.6235 GB, free: 1.816 MB / 462.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4743, allocations: 0 / 0.6235 GB, free: 1.816 MB / 462.1 MB Notification: Performance of Templates: time 0.03181/0.5061, allocations: 21.69 MB / 0.6447 GB, free: 12.09 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.ValveZeroFlow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.383360574953258] Failed to read output from testmodel.py, exit status != 0: 0.5149943209253252 0.5291993150000001 0.15043673500000002 Calling exit ...