Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.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.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") translateModel(ThermoPower.Test.WaterComponents.TestCoeffValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008901/0.0008899, allocations: 180.3 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.437/1.437, allocations: 225.7 MB / 243.2 MB, free: 8.449 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.0008781/0.000878, allocations: 98.23 kB / 294.4 MB, free: 9.516 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.3665/0.3665, allocations: 48.78 MB / 394.3 MB, free: 33.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002931, allocations: 12 kB / 468.1 MB, free: 9.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2773, allocations: 63.08 MB / 0.5187 GB, free: 37.63 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoeffValve): time 0.06535/0.3427, allocations: 86.99 MB / 0.6037 GB, free: 12.89 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01648/0.3592, allocations: 16.68 MB / 0.62 GB, free: 10.89 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009448/0.3602, allocations: 27.81 kB / 0.62 GB, free: 10.86 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.3613, allocations: 330 kB / 0.6203 GB, free: 10.54 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001138/0.3624, allocations: 489 kB / 0.6208 GB, free: 10.06 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01474/0.3772, allocations: 4.824 MB / 0.6255 GB, free: 5.219 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002291/0.3795, allocations: 1.856 MB / 0.6273 GB, free: 3.355 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005126/0.38, allocations: 340.6 kB / 0.6276 GB, free: 3.004 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005363/0.3806, allocations: 438.1 kB / 0.628 GB, free: 2.574 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005279/0.3811, allocations: 477.7 kB / 0.6285 GB, free: 2.105 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.597e-05/0.3812, allocations: 24 kB / 0.6285 GB, free: 2.082 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01132/0.3925, allocations: 6.072 MB / 0.6344 GB, free: 12 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.3927, allocations: 95.42 kB / 0.6345 GB, free: 11.91 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005695/0.3933, allocations: 399.7 kB / 0.6349 GB, free: 11.51 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009138/0.4025, allocations: 4.096 MB / 0.6389 GB, free: 7.402 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4025, allocations: 0 / 0.6389 GB, free: 7.402 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4025, allocations: 3.938 kB / 0.6389 GB, free: 7.398 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.4025, allocations: 0 / 0.6389 GB, free: 7.398 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.003272/0.4058, allocations: 1.348 MB / 0.6402 GB, free: 5.996 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.4059, allocations: 25.09 kB / 0.6403 GB, free: 5.973 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003561/0.4063, allocations: 115.9 kB / 0.6404 GB, free: 5.859 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006435/0.4069, allocations: 0.4954 MB / 0.6409 GB, free: 5.324 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.4069, allocations: 37.38 kB / 0.6409 GB, free: 5.289 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.407, allocations: 52.31 kB / 0.6409 GB, free: 5.238 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.408, allocations: 0.6126 MB / 0.6415 GB, free: 4.559 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.4081, allocations: 4 kB / 0.6415 GB, free: 4.555 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-05/0.4081, allocations: 20 kB / 0.6416 GB, free: 4.535 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.4082, allocations: 12 kB / 0.6416 GB, free: 4.523 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007176/0.4089, allocations: 361.6 kB / 0.6419 GB, free: 4.172 MB / 458.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.003153/0.412, allocations: 3.551 MB / 0.6454 GB, free: 356 kB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.4125, allocations: 182.4 kB / 0.6456 GB, free: 136 kB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.32e-05/0.4126, allocations: 59.5 kB / 0.6456 GB, free: 64 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2482/0.6608, allocations: 32.3 MB / 0.6772 GB, free: 137.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.6609, allocations: 37.98 kB / 0.6772 GB, free: 137.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 2.515e-06/0.6609, allocations: 0 / 0.6772 GB, free: 137.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.001301/0.6622, allocations: 356.1 kB / 0.6775 GB, free: 137.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.6622, allocations: 135.8 kB / 0.6777 GB, free: 137.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009007/0.6631, allocations: 0.7233 MB / 0.6784 GB, free: 137.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.6632, allocations: 31.36 kB / 0.6784 GB, free: 137.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002411/0.6634, allocations: 352 kB / 0.6787 GB, free: 136.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.6635, allocations: 41.61 kB / 0.6788 GB, free: 136.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.6635, allocations: 8.969 kB / 0.6788 GB, free: 136.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.392e-05/0.6635, allocations: 314.7 kB / 0.6791 GB, free: 136.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.6636, allocations: 49.31 kB / 0.6791 GB, free: 136.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.6638, allocations: 128.4 kB / 0.6793 GB, free: 136.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.664, allocations: 188.8 kB / 0.6794 GB, free: 136.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.664, allocations: 4.875 kB / 0.6794 GB, free: 136.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004204/0.6644, allocations: 291 kB / 0.6797 GB, free: 136.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.436e-05/0.6645, allocations: 162 kB / 0.6799 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6645, allocations: 3.031 kB / 0.6799 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.6645, allocations: 4.969 kB / 0.6799 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.6648, allocations: 57.8 kB / 0.6799 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.6649, allocations: 6 kB / 0.6799 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.6653, allocations: 67.47 kB / 0.68 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.6653, allocations: 15.66 kB / 0.68 GB, free: 136 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.823e-06/0.6653, allocations: 3.969 kB / 0.68 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002665/0.6656, allocations: 156.6 kB / 0.6802 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.6656, allocations: 2.969 kB / 0.6802 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.19e-06/0.6656, allocations: 7.625 kB / 0.6802 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.6659, allocations: 48.59 kB / 0.6802 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.6659, allocations: 7.906 kB / 0.6802 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.6662, allocations: 60.98 kB / 0.6803 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.6663, allocations: 12.22 kB / 0.6803 GB, free: 135.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (ValveLiq4.fluidState.phase,ValveLiq3.fluidState.phase,ValveLiq2.fluidState.phase,ValveLiq1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001604/0.6664, allocations: 244.4 kB / 0.6805 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.6666, allocations: 81.75 kB / 0.6806 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005567/0.6671, allocations: 0.4992 MB / 0.6811 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.6672, allocations: 5.656 kB / 0.6811 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6672, allocations: 1.188 kB / 0.6811 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.6672, allocations: 1.25 kB / 0.6811 GB, free: 135.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006414/0.6678, allocations: 0.6123 MB / 0.6817 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.6678, allocations: 0.9375 kB / 0.6817 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.001e-05/0.6679, allocations: 29.92 kB / 0.6817 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6679, allocations: 2.938 kB / 0.6817 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.6679, allocations: 3.281 kB / 0.6817 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.6679, allocations: 2.906 kB / 0.6818 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.668, allocations: 2.969 kB / 0.6818 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002216/0.6682, allocations: 0.5057 MB / 0.6822 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001765/0.6684, allocations: 244.5 kB / 0.6825 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.553e-05/0.6685, allocations: 6.969 kB / 0.6825 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.6688, allocations: 16.84 kB / 0.6825 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.6689, allocations: 10.75 kB / 0.6825 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.6689, allocations: 6.938 kB / 0.6825 GB, free: 134.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006538/0.6695, allocations: 0.7168 MB / 0.6832 GB, free: 134.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6695, allocations: 0 / 0.6832 GB, free: 134.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00232/0.6719, allocations: 1.048 MB / 0.6842 GB, free: 134 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 Backend phase and start with SimCode phase: time 0.002863/0.6747, allocations: 0.9836 MB / 0.6852 GB, free: 133.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003342/0.6751, allocations: 197.3 kB / 0.6854 GB, free: 133.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6751, allocations: 2.906 kB / 0.6854 GB, free: 133.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.381e-05/0.6751, allocations: 32.62 kB / 0.6854 GB, free: 133.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/0.6775, allocations: 455.1 kB / 0.6859 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.6787, allocations: 1.347 MB / 0.6872 GB, free: 132.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002606/0.679, allocations: 0.9335 MB / 0.6881 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004607/0.6795, allocations: 288.7 kB / 0.6884 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.042e-05/0.6796, allocations: 58.69 kB / 0.6884 GB, free: 132.2 MB / 490.7 MB Notification: Performance of SimCode: time 3.2e-07/0.6796, allocations: 0 / 0.6884 GB, free: 132.2 MB / 490.7 MB Notification: Performance of Templates: time 0.0472/0.7268, allocations: 39.18 MB / 0.7267 GB, free: 109.7 MB / 490.7 MB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoeffValve.pipe 2>&1)