Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 184.3 kB / 16.71 MB, free: 4.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.7 MB / 243.2 MB, free: 8.508 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007707/0.0007707, allocations: 102 kB / 294.4 MB, free: 9.512 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4144/0.4144, allocations: 48.78 MB / 394.3 MB, free: 33.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002944, allocations: 8 kB / 468.1 MB, free: 9.449 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2781, allocations: 63.08 MB / 0.5187 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestBarometricCondenser): time 0.03887/0.317, allocations: 57.5 MB / 0.5749 GB, free: 8.672 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02213/0.3392, allocations: 23.06 MB / 0.5974 GB, free: 2.883 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005114/0.3398, allocations: 7.938 kB / 0.5974 GB, free: 2.875 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007204/0.3405, allocations: 226.9 kB / 0.5976 GB, free: 2.652 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005252/0.3458, allocations: 1.923 MB / 0.5995 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009155/0.3549, allocations: 2.663 MB / 0.6021 GB, free: 14.05 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001231/0.3562, allocations: 1.203 MB / 0.6033 GB, free: 12.84 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004045/0.3566, allocations: 254.7 kB / 0.6035 GB, free: 12.59 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.357, allocations: 302.8 kB / 0.6038 GB, free: 12.29 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003947/0.3574, allocations: 366.5 kB / 0.6042 GB, free: 11.93 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.3574, allocations: 20 kB / 0.6042 GB, free: 11.91 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01241/0.3699, allocations: 7.145 MB / 0.6111 GB, free: 4.762 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.37, allocations: 83.61 kB / 0.6112 GB, free: 4.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003108/0.3703, allocations: 264.4 kB / 0.6115 GB, free: 4.414 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0093/0.3796, allocations: 4.592 MB / 0.616 GB, free: 15.81 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3797, allocations: 0 / 0.616 GB, free: 15.81 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3797, allocations: 0 / 0.616 GB, free: 15.81 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.3797, allocations: 4 kB / 0.616 GB, free: 15.81 MB / 442.7 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.002769/0.3825, allocations: 1.27 MB / 0.6172 GB, free: 14.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.3825, allocations: 21.05 kB / 0.6172 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008662/0.3834, allocations: 152.2 kB / 0.6174 GB, free: 14.31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.3839, allocations: 358 kB / 0.6177 GB, free: 13.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.3839, allocations: 29.03 kB / 0.6177 GB, free: 13.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.245e-05/0.384, allocations: 40.36 kB / 0.6178 GB, free: 13.85 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008218/0.3848, allocations: 483 kB / 0.6182 GB, free: 13.33 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3848, allocations: 0 / 0.6182 GB, free: 13.33 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.3849, allocations: 12 kB / 0.6183 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3849, allocations: 11.98 kB / 0.6183 GB, free: 13.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005949/0.3855, allocations: 306.3 kB / 0.6186 GB, free: 13.01 MB / 442.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.002253/0.3877, allocations: 2.509 MB / 0.621 GB, free: 10.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00054/0.3883, allocations: 286.4 kB / 0.6213 GB, free: 9.957 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002262/0.3885, allocations: 144.8 kB / 0.6214 GB, free: 9.812 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0608/0.4493, allocations: 32.77 MB / 0.6534 GB, free: 5.129 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006548/0.45, allocations: 304.5 kB / 0.6537 GB, free: 4.809 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 2.635e-06/0.4501, allocations: 4 kB / 0.6537 GB, free: 4.805 MB / 474.7 MB Notification: Performance of matching and sorting (n=36): time 0.003808/0.4539, allocations: 1.705 MB / 0.6554 GB, free: 2.984 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.88e-05/0.454, allocations: 144.5 kB / 0.6555 GB, free: 2.812 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004425/0.4544, allocations: 405.8 kB / 0.6559 GB, free: 2.406 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.4545, allocations: 29.7 kB / 0.6559 GB, free: 2.371 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001893/0.4547, allocations: 240.2 kB / 0.6562 GB, free: 2.133 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.464e-05/0.4548, allocations: 110.4 kB / 0.6563 GB, free: 2.023 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.866e-05/0.4548, allocations: 8 kB / 0.6563 GB, free: 2.016 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.4549, allocations: 358.8 kB / 0.6566 GB, free: 1.656 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.4552, allocations: 128.7 kB / 0.6567 GB, free: 1.531 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.4554, allocations: 223.7 kB / 0.657 GB, free: 1.281 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/0.456, allocations: 466.1 kB / 0.6574 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.456, allocations: 0 / 0.6574 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001022/0.457, allocations: 0.6071 MB / 0.658 GB, free: 144 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.29e-05/0.4571, allocations: 67.39 kB / 0.6581 GB, free: 64 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4571, allocations: 7.938 kB / 0.6581 GB, free: 56 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.4583, allocations: 165.5 kB / 0.6582 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.4586, allocations: 60.16 kB / 0.6583 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008675/0.4594, allocations: 1.128 MB / 0.6594 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.4597, allocations: 40.08 kB / 0.6594 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.4598, allocations: 19.98 kB / 0.6594 GB, free: 14.59 MB / 490.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 ($whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,$PRE.steamFlowRate.nextEvent,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled,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.000286/0.4601, allocations: 250.6 kB / 0.6597 GB, free: 14.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.361e-05/0.4602, allocations: 47.44 kB / 0.6597 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.4622, allocations: 1.587 MB / 0.6613 GB, free: 12.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.4622, allocations: 15.97 kB / 0.6613 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.4622, allocations: 7.875 kB / 0.6613 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4623, allocations: 0 / 0.6613 GB, free: 12.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007556/0.463, allocations: 0.736 MB / 0.662 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.463, allocations: 0 / 0.662 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.4633, allocations: 43.92 kB / 0.6621 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006835/0.4639, allocations: 368.3 kB / 0.6624 GB, free: 11.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/0.464, allocations: 16 kB / 0.6624 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009663/0.465, allocations: 1.335 MB / 0.6637 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.465, allocations: 0 / 0.6637 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.467, allocations: 1.702 MB / 0.6654 GB, free: 8.305 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.4672, allocations: 188.2 kB / 0.6656 GB, free: 8.102 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.78e-05/0.4673, allocations: 16 kB / 0.6656 GB, free: 8.086 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.4675, allocations: 35.86 kB / 0.6656 GB, free: 8.051 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.4676, allocations: 19.91 kB / 0.6656 GB, free: 8.031 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.4677, allocations: 19.98 kB / 0.6657 GB, free: 8.012 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002768/0.4679, allocations: 283.1 kB / 0.6659 GB, free: 7.734 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4679, allocations: 0 / 0.6659 GB, free: 7.734 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003039/0.471, allocations: 1.101 MB / 0.667 GB, free: 6.633 MB / 490.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.005366/0.4764, allocations: 1.32 MB / 0.6683 GB, free: 5.305 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.4775, allocations: 0.7467 MB / 0.669 GB, free: 4.535 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.4776, allocations: 0.5 kB / 0.669 GB, free: 4.535 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007148/0.4783, allocations: 0.6028 MB / 0.6696 GB, free: 3.906 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009622/0.4793, allocations: 177.3 kB / 0.6698 GB, free: 3.734 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00225/0.4815, allocations: 1.813 MB / 0.6715 GB, free: 1.891 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.482, allocations: 0.9111 MB / 0.6724 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0002471/0.4822, allocations: 99.12 kB / 0.6725 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.4823, allocations: 39.42 kB / 0.6726 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4823, allocations: 0 / 0.6726 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of Templates: time 0.304/0.7863, allocations: 40.17 MB / 0.7118 GB, free: 151.2 MB / 0.4949 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile (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)