Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.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.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009264/0.0009267, allocations: 183.7 kB / 16.71 MB, free: 4.969 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.263/1.263, allocations: 225.7 MB / 243.2 MB, free: 10.23 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.0007632/0.0007633, allocations: 92.27 kB / 294.4 MB, free: 9.762 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.4505/0.4505, allocations: 48.79 MB / 394.3 MB, free: 34.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004594, allocations: 8 kB / 468.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3081, allocations: 63.08 MB / 0.5187 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestJoin): time 0.09597/0.4041, allocations: 120 MB / 0.6359 GB, free: 10.78 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01748/0.4216, allocations: 16.87 MB / 0.6524 GB, free: 8.664 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.4228, allocations: 23.81 kB / 0.6524 GB, free: 8.641 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.4245, allocations: 477.4 kB / 0.6529 GB, free: 8.172 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001611/0.4262, allocations: 0.5983 MB / 0.6535 GB, free: 7.57 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01484/0.441, allocations: 4.625 MB / 0.658 GB, free: 2.93 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.003478/0.4445, allocations: 2.555 MB / 0.6605 GB, free: 376 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.4459, allocations: 0.5266 MB / 0.661 GB, free: 15.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.4474, allocations: 0.5795 MB / 0.6615 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.4487, allocations: 0.6301 MB / 0.6622 GB, free: 14.61 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.4489, allocations: 47.94 kB / 0.6622 GB, free: 14.56 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01268/0.4616, allocations: 6.146 MB / 0.6682 GB, free: 8.41 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003694/0.462, allocations: 123.5 kB / 0.6683 GB, free: 8.289 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000726/0.4628, allocations: 427.7 kB / 0.6687 GB, free: 7.863 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.4729, allocations: 4.264 MB / 0.6729 GB, free: 3.59 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.473, allocations: 0 / 0.6729 GB, free: 3.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.414e-06/0.473, allocations: 0 / 0.6729 GB, free: 3.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.325e-05/0.473, allocations: 3.938 kB / 0.6729 GB, free: 3.586 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.004416/0.4775, allocations: 1.411 MB / 0.6743 GB, free: 2.125 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.4775, allocations: 13.11 kB / 0.6743 GB, free: 2.113 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004642/0.478, allocations: 115.8 kB / 0.6744 GB, free: 2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007814/0.4788, allocations: 481.4 kB / 0.6749 GB, free: 1.492 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.815e-05/0.4789, allocations: 45.69 kB / 0.6749 GB, free: 1.449 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.479, allocations: 60.38 kB / 0.675 GB, free: 1.391 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001726/0.4807, allocations: 0.8179 MB / 0.6758 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.4807, allocations: 11.92 kB / 0.6758 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.736e-05/0.4808, allocations: 24 kB / 0.6758 GB, free: 492 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.4808, allocations: 16 kB / 0.6758 GB, free: 476 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2119/0.6927, allocations: 0.5911 MB / 0.6764 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003695/0.6965, allocations: 4.383 MB / 0.6807 GB, free: 138 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.6978, allocations: 0.4973 MB / 0.6812 GB, free: 137.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003976/0.6982, allocations: 193.6 kB / 0.6813 GB, free: 137.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05259/0.7509, allocations: 32.3 MB / 0.7129 GB, free: 116.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.7509, allocations: 32.38 kB / 0.7129 GB, free: 116.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 2.325e-06/0.7509, allocations: 1.031 kB / 0.7129 GB, free: 116.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.002174/0.7531, allocations: 0.7115 MB / 0.7136 GB, free: 116.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.7532, allocations: 84.45 kB / 0.7137 GB, free: 116.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005317/0.7537, allocations: 479.5 kB / 0.7141 GB, free: 116.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.7537, allocations: 31.14 kB / 0.7142 GB, free: 116.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.7539, allocations: 333.1 kB / 0.7145 GB, free: 115.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.879e-05/0.754, allocations: 112 kB / 0.7146 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.151e-05/0.7541, allocations: 6.156 kB / 0.7146 GB, free: 115.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.7542, allocations: 364 kB / 0.715 GB, free: 115.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.7545, allocations: 135.1 kB / 0.7151 GB, free: 115.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.7549, allocations: 208.8 kB / 0.7153 GB, free: 115.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/0.7555, allocations: 356.8 kB / 0.7156 GB, free: 115.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7555, allocations: 0 / 0.7156 GB, free: 115.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008685/0.7564, allocations: 442.8 kB / 0.716 GB, free: 114.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.703e-05/0.7565, allocations: 151.3 kB / 0.7162 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.7565, allocations: 3.219 kB / 0.7162 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.7565, allocations: 11.88 kB / 0.7162 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/0.757, allocations: 94.34 kB / 0.7163 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.757, allocations: 5.203 kB / 0.7163 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005797/0.7576, allocations: 85.69 kB / 0.7164 GB, free: 114.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.7577, allocations: 20.94 kB / 0.7164 GB, free: 114.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/0.7577, allocations: 4.656 kB / 0.7164 GB, free: 114.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006179/0.7583, allocations: 305.3 kB / 0.7167 GB, free: 114.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7583, allocations: 2.531 kB / 0.7167 GB, free: 114.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/0.7583, allocations: 4.172 kB / 0.7167 GB, free: 114.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.7586, allocations: 85.8 kB / 0.7168 GB, free: 114.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.7587, allocations: 8.953 kB / 0.7168 GB, free: 114.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.759, allocations: 88 kB / 0.7169 GB, free: 114.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.759, allocations: 16.38 kB / 0.7169 GB, free: 114.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002083/0.7593, allocations: 252.4 kB / 0.7171 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.168e-05/0.7593, allocations: 61.28 kB / 0.7172 GB, free: 114.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/0.7614, allocations: 1.577 MB / 0.7187 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-05/0.7615, allocations: 20.36 kB / 0.7188 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.7615, allocations: 5.094 kB / 0.7188 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.7615, allocations: 3.219 kB / 0.7188 GB, free: 113.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.7628, allocations: 0.9825 MB / 0.7197 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.7628, allocations: 1.688 kB / 0.7197 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003424/0.7632, allocations: 68.81 kB / 0.7198 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.7632, allocations: 3.938 kB / 0.7198 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.7632, allocations: 9.125 kB / 0.7198 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.7632, allocations: 7.75 kB / 0.7198 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7632, allocations: 4.797 kB / 0.7198 GB, free: 112.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.7644, allocations: 0.9938 MB / 0.7208 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.7646, allocations: 204.5 kB / 0.721 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.7646, allocations: 4.609 kB / 0.721 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.765, allocations: 56.45 kB / 0.721 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.7652, allocations: 43.56 kB / 0.7211 GB, free: 112.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.7652, allocations: 9.094 kB / 0.7211 GB, free: 112.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002664/0.7655, allocations: 326 kB / 0.7214 GB, free: 112 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7655, allocations: 3.844 kB / 0.7214 GB, free: 112 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002503/0.768, allocations: 1.067 MB / 0.7224 GB, free: 111.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002849/0.7708, allocations: 0.9904 MB / 0.7234 GB, free: 111.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001105/0.772, allocations: 0.6724 MB / 0.7241 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.772, allocations: 0 / 0.7241 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004979/0.7725, allocations: 433.5 kB / 0.7245 GB, free: 110.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.774, allocations: 308.1 kB / 0.7248 GB, free: 110.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.7762, allocations: 2.01 MB / 0.7267 GB, free: 108.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.7765, allocations: 0.9832 MB / 0.7277 GB, free: 107.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005627/0.7771, allocations: 385.6 kB / 0.7281 GB, free: 107.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.7772, allocations: 47.09 kB / 0.7281 GB, free: 107.6 MB / 490.7 MB Notification: Performance of SimCode: time 3.11e-07/0.7772, allocations: 0 / 0.7281 GB, free: 107.6 MB / 490.7 MB Notification: Performance of Templates: time 0.03646/0.8137, allocations: 37.87 MB / 0.7651 GB, free: 69.87 MB / 490.7 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestJoin -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestJoin.pipe 2>&1)