Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestValves.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.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestValves") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 184.1 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.405/1.405, allocations: 225.7 MB / 243.2 MB, free: 8.441 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.0007715/0.0007713, allocations: 98.17 kB / 294.4 MB, free: 9.48 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.3894/0.3894, allocations: 48.78 MB / 394.3 MB, free: 33.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003337, allocations: 8 kB / 468.1 MB, free: 9.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3322/0.3326, allocations: 63.08 MB / 0.5187 GB, free: 37.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.06247/0.3951, allocations: 79.45 MB / 0.5963 GB, free: 4.684 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01815/0.4133, allocations: 17.97 MB / 0.6139 GB, free: 1.262 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.4144, allocations: 23.81 kB / 0.6139 GB, free: 1.238 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.4155, allocations: 346 kB / 0.6142 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.4167, allocations: 0.4931 MB / 0.6147 GB, free: 412 kB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01433/0.4311, allocations: 4.524 MB / 0.6191 GB, free: 11.86 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002464/0.4336, allocations: 1.813 MB / 0.6209 GB, free: 10.04 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007678/0.4344, allocations: 499.9 kB / 0.6214 GB, free: 9.543 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007146/0.4351, allocations: 485.9 kB / 0.6218 GB, free: 9.066 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006562/0.4357, allocations: 0.5679 MB / 0.6224 GB, free: 8.496 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.752e-05/0.4358, allocations: 40 kB / 0.6224 GB, free: 8.457 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01238/0.4482, allocations: 6.185 MB / 0.6285 GB, free: 2.266 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002425/0.4485, allocations: 131.4 kB / 0.6286 GB, free: 2.137 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006064/0.4491, allocations: 435.6 kB / 0.629 GB, free: 1.703 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009818/0.459, allocations: 4.303 MB / 0.6332 GB, free: 13.39 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.459, allocations: 0 / 0.6332 GB, free: 13.39 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.459, allocations: 0 / 0.6332 GB, free: 13.39 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.4591, allocations: 0 / 0.6332 GB, free: 13.39 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.005589/0.4647, allocations: 1.66 MB / 0.6348 GB, free: 11.67 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4647, allocations: 15.92 kB / 0.6348 GB, free: 11.66 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004892/0.4652, allocations: 127.9 kB / 0.635 GB, free: 11.53 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008891/0.4661, allocations: 0.55 MB / 0.6355 GB, free: 10.94 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/0.4662, allocations: 37.69 kB / 0.6355 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.193e-05/0.4663, allocations: 48.38 kB / 0.6356 GB, free: 10.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/0.468, allocations: 0.8566 MB / 0.6364 GB, free: 9.961 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.4681, allocations: 0 / 0.6364 GB, free: 9.961 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.577e-05/0.4681, allocations: 23.98 kB / 0.6364 GB, free: 9.938 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.4682, allocations: 12 kB / 0.6364 GB, free: 9.926 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001915/0.4701, allocations: 0.8626 MB / 0.6373 GB, free: 9.066 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.00358/0.4737, allocations: 3.546 MB / 0.6408 GB, free: 5.168 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.4747, allocations: 423.2 kB / 0.6412 GB, free: 4.746 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004338/0.4752, allocations: 216.7 kB / 0.6414 GB, free: 4.531 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06105/0.5362, allocations: 32.3 MB / 0.6729 GB, free: 420 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.023e-05/0.5363, allocations: 46.56 kB / 0.6729 GB, free: 364 kB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007286/0.5371, allocations: 95.53 kB / 0.673 GB, free: 268 kB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 5.119e-06/0.5371, allocations: 0 / 0.673 GB, free: 268 kB / 490.7 MB Notification: Performance of matching and sorting (n=31): time 0.008966/0.5461, allocations: 1.862 MB / 0.6749 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.5462, allocations: 55.41 kB / 0.6749 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000974/0.5471, allocations: 0.6178 MB / 0.6755 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.784e-05/0.5472, allocations: 29.7 kB / 0.6755 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.5475, allocations: 344.1 kB / 0.6759 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.5477, allocations: 106.4 kB / 0.676 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.5477, allocations: 4 kB / 0.676 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5479, allocations: 321.9 kB / 0.6763 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004178/0.5483, allocations: 172.5 kB / 0.6764 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004359/0.5487, allocations: 226.3 kB / 0.6767 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008397/0.5496, allocations: 414 kB / 0.6771 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.5496, allocations: 0 / 0.6771 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001499/0.5511, allocations: 0.661 MB / 0.6777 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.47e-05/0.5512, allocations: 125.5 kB / 0.6778 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.5512, allocations: 4 kB / 0.6778 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007995/0.5592, allocations: 1.212 MB / 0.679 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.5595, allocations: 55.91 kB / 0.6791 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.5613, allocations: 0.953 MB / 0.68 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006385/0.562, allocations: 59.8 kB / 0.6801 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.622e-05/0.5621, allocations: 19.98 kB / 0.6801 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.5621, allocations: 7.938 kB / 0.6801 GB, free: 8.891 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/0.5632, allocations: 456.2 kB / 0.6805 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5632, allocations: 4.156 kB / 0.6805 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002995/0.5635, allocations: 68.8 kB / 0.6806 GB, free: 8.367 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.564, allocations: 91.86 kB / 0.6807 GB, free: 8.277 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.5654, allocations: 1.46 MB / 0.6821 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006057/0.566, allocations: 59.89 kB / 0.6822 GB, free: 6.625 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.5661, allocations: 19.98 kB / 0.6822 GB, free: 6.605 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(6,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003108/0.5664, allocations: 251.6 kB / 0.6824 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.5665, allocations: 71.16 kB / 0.6825 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/0.5693, allocations: 2.055 MB / 0.6845 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.5693, allocations: 19.97 kB / 0.6845 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.5693, allocations: 3.938 kB / 0.6845 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.5694, allocations: 3.984 kB / 0.6845 GB, free: 4.184 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.5704, allocations: 0.9426 MB / 0.6854 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.5704, allocations: 4 kB / 0.6854 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.5706, allocations: 39.97 kB / 0.6855 GB, free: 3.152 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005635/0.5763, allocations: 2.769 MB / 0.6882 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.238e-05/0.5763, allocations: 15.98 kB / 0.6882 GB, free: 372 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2126/0.7889, allocations: 2.059 MB / 0.6902 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.789, allocations: 0.5625 kB / 0.6902 GB, free: 155.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.7915, allocations: 1.775 MB / 0.6919 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.7917, allocations: 180.4 kB / 0.6921 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.075e-05/0.7918, allocations: 12.75 kB / 0.6921 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/0.7922, allocations: 54.2 kB / 0.6922 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.7924, allocations: 35.86 kB / 0.6922 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.7924, allocations: 16.08 kB / 0.6922 GB, free: 154.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004867/0.7929, allocations: 440 kB / 0.6926 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.1e-07/0.7929, allocations: 0 / 0.6926 GB, free: 154.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00252/0.7954, allocations: 1.093 MB / 0.6937 GB, free: 154.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse18.phase,$cse18.region,$cse22.phase,$cse22.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(5,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003281/0.7987, allocations: 1.003 MB / 0.6947 GB, free: 154 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00239/0.8011, allocations: 0.9537 MB / 0.6956 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.8011, allocations: 3.469 kB / 0.6956 GB, free: 153.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008499/0.802, allocations: 0.4988 MB / 0.6961 GB, free: 153.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/0.804, allocations: 422 kB / 0.6965 GB, free: 153.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002114/0.8062, allocations: 1.987 MB / 0.6985 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.8065, allocations: 0.9928 MB / 0.6994 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000515/0.807, allocations: 272.9 kB / 0.6997 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.565e-05/0.8071, allocations: 38.94 kB / 0.6997 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.8071, allocations: 0 / 0.6997 GB, free: 151.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.0506/0.8577, allocations: 43 MB / 0.7417 GB, free: 125.5 MB / 0.4948 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1)