Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.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.0007854/0.0007854, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003056/0.003056, allocations: 161 kB / 24.7 MB, free: 9.41 MB / 18.57 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 0.8397/0.8397, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.08669/0.08669, allocations: 19.74 MB / 281.2 MB, free: 9.465 MB / 266.7 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.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 417.8 MB, free: 7.363 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.42e-05, allocations: 2.281 kB / 417.8 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.03553/0.03555, allocations: 52.67 MB / 470.5 MB, free: 13.81 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007972/0.04353, allocations: 9.234 MB / 479.7 MB, free: 4.543 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.04378, allocations: 11.88 kB / 479.7 MB, free: 4.531 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006135/0.04439, allocations: 274.3 kB / 480 MB, free: 4.262 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005801/0.05019, allocations: 2.395 MB / 482.4 MB, free: 1.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006204/0.0564, allocations: 3.273 MB / 485.7 MB, free: 14.59 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006984/0.05709, allocations: 0.8947 MB / 486.6 MB, free: 13.69 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003145/0.05741, allocations: 248.8 kB / 486.8 MB, free: 13.45 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003678/0.05778, allocations: 482.7 kB / 487.3 MB, free: 12.97 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.05808, allocations: 335.1 kB / 487.6 MB, free: 12.64 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.05812, allocations: 36 kB / 487.6 MB, free: 12.61 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008724/0.06685, allocations: 7.167 MB / 494.8 MB, free: 5.434 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.06693, allocations: 103.5 kB / 494.9 MB, free: 5.332 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.06707, allocations: 175.6 kB / 495.1 MB, free: 5.16 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006331/0.0734, allocations: 5.761 MB / 0.4891 GB, free: 15.38 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.07341, allocations: 0 / 0.4891 GB, free: 15.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.07341, allocations: 0 / 0.4891 GB, free: 15.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.07342, allocations: 0 / 0.4891 GB, free: 15.38 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001746/0.07516, allocations: 1.331 MB / 0.4904 GB, free: 14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.0752, allocations: 16.02 kB / 0.4904 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000483/0.07569, allocations: 152.5 kB / 0.4906 GB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.07608, allocations: 303.6 kB / 0.4909 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.0761, allocations: 25.38 kB / 0.4909 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.07615, allocations: 40.36 kB / 0.4909 GB, free: 13.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000573/0.07672, allocations: 0.5652 MB / 0.4915 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.07673, allocations: 192 / 0.4915 GB, free: 12.83 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.07676, allocations: 19.94 kB / 0.4915 GB, free: 12.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.07677, allocations: 12 kB / 0.4915 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/0.07719, allocations: 373.7 kB / 0.4919 GB, free: 12.42 MB / 410.7 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.001357/0.07854, allocations: 1.684 MB / 0.4935 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.07893, allocations: 313.9 kB / 0.4938 GB, free: 10.33 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.07908, allocations: 196.3 kB / 0.494 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02797/0.107, allocations: 17.62 MB / 0.5112 GB, free: 8.484 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/0.1075, allocations: 362 kB / 0.5115 GB, free: 8.094 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 2.795e-06/0.1075, allocations: 0 / 0.5115 GB, free: 8.094 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.002397/0.1099, allocations: 1.703 MB / 0.5132 GB, free: 6.285 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.11, allocations: 144.5 kB / 0.5133 GB, free: 6.113 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002638/0.1103, allocations: 357.6 kB / 0.5137 GB, free: 5.754 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1103, allocations: 29.7 kB / 0.5137 GB, free: 5.719 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.1104, allocations: 248.7 kB / 0.5139 GB, free: 5.473 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.1105, allocations: 123 kB / 0.5141 GB, free: 5.352 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.052e-05/0.1106, allocations: 74.02 kB / 0.5141 GB, free: 5.273 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.866e-05/0.1107, allocations: 358.7 kB / 0.5145 GB, free: 4.914 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.1108, allocations: 196.2 kB / 0.5147 GB, free: 4.711 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.111, allocations: 313.1 kB / 0.515 GB, free: 4.355 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.1114, allocations: 482.2 kB / 0.5154 GB, free: 3.832 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1114, allocations: 0 / 0.5154 GB, free: 3.832 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007996/0.1122, allocations: 0.6924 MB / 0.5161 GB, free: 3.098 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.856e-05/0.1123, allocations: 78.19 kB / 0.5162 GB, free: 3.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1123, allocations: 8 kB / 0.5162 GB, free: 3.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006781/0.1129, allocations: 161.5 kB / 0.5163 GB, free: 2.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.1131, allocations: 55.92 kB / 0.5164 GB, free: 2.785 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005584/0.1136, allocations: 1.132 MB / 0.5175 GB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.1137, allocations: 15.97 kB / 0.5175 GB, free: 1.586 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.1138, allocations: 23.94 kB / 0.5175 GB, free: 1.562 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 (coolingFlowRate.nextEventScaled,coolingFlowRate.nextEvent,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.b,coolingFlowRate.a,steamFlowRate.nextEventScaled,steamFlowRate.nextEvent,$PRE.steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.b,steamFlowRate.a,$whenCondition2,$whenCondition1,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001807/0.1139, allocations: 249.2 kB / 0.5178 GB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.158e-05/0.114, allocations: 43.92 kB / 0.5178 GB, free: 1.254 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.1152, allocations: 1.679 MB / 0.5194 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.1153, allocations: 15.97 kB / 0.5195 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1153, allocations: 0 / 0.5195 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1153, allocations: 11.92 kB / 0.5195 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003945/0.1157, allocations: 0.5919 MB / 0.5201 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1157, allocations: 0 / 0.5201 GB, free: 14.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.1158, allocations: 55.91 kB / 0.5201 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003132/0.1161, allocations: 262.4 kB / 0.5204 GB, free: 14.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.1161, allocations: 12 kB / 0.5204 GB, free: 14.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005708/0.1167, allocations: 1.347 MB / 0.5217 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1167, allocations: 4.062 kB / 0.5217 GB, free: 13.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001452/0.1181, allocations: 1.879 MB / 0.5235 GB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.1183, allocations: 111.4 kB / 0.5236 GB, free: 11.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.1183, allocations: 12 kB / 0.5236 GB, free: 11.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.1184, allocations: 8 kB / 0.5236 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.1184, allocations: 23.95 kB / 0.5237 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.1184, allocations: 16 kB / 0.5237 GB, free: 11.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.1186, allocations: 247.2 kB / 0.5239 GB, free: 10.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1186, allocations: 4 kB / 0.5239 GB, free: 10.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002275/0.1209, allocations: 1.127 MB / 0.525 GB, free: 9.676 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002619/0.1235, allocations: 1.488 MB / 0.5265 GB, free: 8.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007513/0.1242, allocations: 0.8049 MB / 0.5273 GB, free: 7.324 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1242, allocations: 4 kB / 0.5273 GB, free: 7.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004083/0.1247, allocations: 0.58 MB / 0.5278 GB, free: 6.703 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004611/0.1251, allocations: 154.2 kB / 0.528 GB, free: 6.555 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1265, allocations: 1.498 MB / 0.5294 GB, free: 5.012 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.1267, allocations: 317.4 kB / 0.5297 GB, free: 4.676 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.1268, allocations: 44.48 kB / 0.5298 GB, free: 4.633 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1268, allocations: 0 / 0.5298 GB, free: 4.633 MB / 442.7 MB Notification: Performance of Templates: time 0.02329/0.1501, allocations: 29.39 MB / 0.5585 GB, free: 7.242 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0867575677111745] Failed to read output from testmodel.py, exit status != 0: 0.15555617958307266 0.163371293 0.088267911 Calling exit ...