Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007977/0.0007978, allocations: 88.3 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 173.1 kB / 17.56 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.4 MB / 223.7 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2996/0.2996, allocations: 48.8 MB / 320.8 MB, free: 11.1 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005652/0.0005652, allocations: 12.97 kB / 391.8 MB, free: 50.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1132, allocations: 60.26 MB / 452.1 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.05734/0.1706, allocations: 50.82 MB / 0.4911 GB, free: 6.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02237/0.193, allocations: 17.62 MB / 0.5083 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006622/0.1937, allocations: 11.88 kB / 0.5083 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009833/0.1947, allocations: 218.9 kB / 0.5085 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007442/0.2022, allocations: 1.923 MB / 0.5104 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01023/0.2125, allocations: 2.663 MB / 0.513 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.2143, allocations: 1.207 MB / 0.5142 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005924/0.2149, allocations: 252 kB / 0.5144 GB, free: 14.22 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000582/0.2155, allocations: 306.7 kB / 0.5147 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005665/0.2161, allocations: 362.6 kB / 0.5151 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.315e-05/0.2162, allocations: 16 kB / 0.5151 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01455/0.2307, allocations: 7.437 MB / 0.5223 GB, free: 6.105 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.231, allocations: 79.62 kB / 0.5224 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004876/0.2315, allocations: 264.4 kB / 0.5227 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.244, allocations: 4.588 MB / 0.5272 GB, free: 1.164 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2441, allocations: 0 / 0.5272 GB, free: 1.164 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.2441, allocations: 0 / 0.5272 GB, free: 1.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.145e-05/0.2441, allocations: 0 / 0.5272 GB, free: 1.164 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.2467/0.4908, allocations: 1.271 MB / 0.5284 GB, free: 86.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.4909, allocations: 9.469 kB / 0.5284 GB, free: 86.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001357/0.4922, allocations: 153.5 kB / 0.5286 GB, free: 86.06 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000499/0.4927, allocations: 355.2 kB / 0.5289 GB, free: 85.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.4928, allocations: 23 kB / 0.5289 GB, free: 85.81 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.16e-05/0.4929, allocations: 36.44 kB / 0.5289 GB, free: 85.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009526/0.4938, allocations: 482.5 kB / 0.5294 GB, free: 85.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.4939, allocations: 5.188 kB / 0.5294 GB, free: 85.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.4939, allocations: 22.25 kB / 0.5294 GB, free: 85.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.4939, allocations: 10 kB / 0.5294 GB, free: 85.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006702/0.4946, allocations: 310.8 kB / 0.5297 GB, free: 85.65 MB / 414.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.00231/0.4969, allocations: 2.502 MB / 0.5322 GB, free: 83.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.4976, allocations: 285.3 kB / 0.5325 GB, free: 83.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.4978, allocations: 148.8 kB / 0.5326 GB, free: 83.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06421/0.562, allocations: 32.77 MB / 0.5646 GB, free: 60.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007019/0.5628, allocations: 307.9 kB / 0.5649 GB, free: 59.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.935e-06/0.5628, allocations: 3.812 kB / 0.5649 GB, free: 59.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=36): time 0.003569/0.5664, allocations: 1.705 MB / 0.5666 GB, free: 58.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.5665, allocations: 136.3 kB / 0.5667 GB, free: 58.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/0.5669, allocations: 409.6 kB / 0.5671 GB, free: 58.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.5669, allocations: 33.67 kB / 0.5671 GB, free: 58.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.5671, allocations: 231.9 kB / 0.5673 GB, free: 58.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.478e-05/0.5671, allocations: 112 kB / 0.5674 GB, free: 58.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.5672, allocations: 45.39 kB / 0.5675 GB, free: 58.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.482e-05/0.5673, allocations: 362.5 kB / 0.5678 GB, free: 57.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.5675, allocations: 130 kB / 0.568 GB, free: 57.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.5677, allocations: 214.8 kB / 0.5682 GB, free: 57.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004666/0.5682, allocations: 471.6 kB / 0.5686 GB, free: 57.2 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5682, allocations: 0 / 0.5686 GB, free: 57.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001033/0.5692, allocations: 0.6164 MB / 0.5692 GB, free: 56.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.812e-05/0.5693, allocations: 71.39 kB / 0.5693 GB, free: 56.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.5693, allocations: 0 / 0.5693 GB, free: 56.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.5705, allocations: 165.5 kB / 0.5694 GB, free: 56.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.5708, allocations: 64.09 kB / 0.5695 GB, free: 56.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007018/0.5715, allocations: 1.129 MB / 0.5706 GB, free: 55.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.5718, allocations: 36.11 kB / 0.5706 GB, free: 55.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.5719, allocations: 27.92 kB / 0.5707 GB, free: 55.25 MB / 414.1 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.0002365/0.5721, allocations: 243.8 kB / 0.5709 GB, free: 55 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.832e-05/0.5722, allocations: 51.44 kB / 0.5709 GB, free: 54.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.5738, allocations: 1.586 MB / 0.5725 GB, free: 53.34 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/0.5739, allocations: 21.53 kB / 0.5725 GB, free: 53.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.5739, allocations: 3.938 kB / 0.5725 GB, free: 53.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.5739, allocations: 3.938 kB / 0.5725 GB, free: 53.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/0.5746, allocations: 0.7349 MB / 0.5732 GB, free: 52.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.5746, allocations: 0 / 0.5732 GB, free: 52.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.5748, allocations: 41.8 kB / 0.5733 GB, free: 52.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006192/0.5754, allocations: 380.2 kB / 0.5736 GB, free: 52.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.5755, allocations: 8 kB / 0.5737 GB, free: 52.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006614/0.5761, allocations: 1.336 MB / 0.575 GB, free: 50.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5762, allocations: 0 / 0.575 GB, free: 50.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.5778, allocations: 1.724 MB / 0.5766 GB, free: 48.98 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.578, allocations: 184.1 kB / 0.5768 GB, free: 48.78 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.18e-05/0.5781, allocations: 8 kB / 0.5768 GB, free: 48.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.5783, allocations: 25.23 kB / 0.5768 GB, free: 48.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.5784, allocations: 23.97 kB / 0.5769 GB, free: 48.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.5784, allocations: 12 kB / 0.5769 GB, free: 48.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002441/0.5787, allocations: 283.1 kB / 0.5772 GB, free: 48.43 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5787, allocations: 0 / 0.5772 GB, free: 48.43 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003315/0.582, allocations: 1.106 MB / 0.5782 GB, free: 47.42 MB / 414.1 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.005244/0.5873, allocations: 1.321 MB / 0.5795 GB, free: 46.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.5884, allocations: 0.7417 MB / 0.5802 GB, free: 45.49 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5884, allocations: 0.5 kB / 0.5802 GB, free: 45.49 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005959/0.589, allocations: 0.5951 MB / 0.5808 GB, free: 44.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.5902, allocations: 184.5 kB / 0.581 GB, free: 44.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.5921, allocations: 1.818 MB / 0.5828 GB, free: 42.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.5924, allocations: 0.915 MB / 0.5837 GB, free: 41.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002647/0.5927, allocations: 96.83 kB / 0.5838 GB, free: 41.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.628e-05/0.5928, allocations: 35.42 kB / 0.5838 GB, free: 41.8 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5928, allocations: 0 / 0.5838 GB, free: 41.8 MB / 414.1 MB Notification: Performance of Templates: time 0.04734/0.6401, allocations: 40.17 MB / 0.623 GB, free: 1.617 MB / 414.1 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1) Environment - environmentSimulation: