Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) 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) 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) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.752/1.752, allocations: 291.7 MB / 306.8 MB, free: 7.672 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001048, allocations: 190.6 kB / 375.4 MB, free: 5.117 MB / 298.7 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.477/1.477, allocations: 225.7 MB / 0.6538 GB, free: 13.62 MB / 490.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.0008242/0.0008242, allocations: 105.3 kB / 0.7699 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003782/0.0003783, allocations: 12 kB / 0.8956 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6368/0.6372, allocations: 118.1 MB / 1.011 GB, free: 57.89 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.08236/0.7197, allocations: 104.5 MB / 1.113 GB, free: 7.84 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03407/0.7538, allocations: 22.87 MB / 1.135 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005622/0.7595, allocations: 107.1 kB / 1.135 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.005545/0.7651, allocations: 0.8873 MB / 1.136 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01112/0.7762, allocations: 2.838 MB / 1.139 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.007727/0.784, allocations: 2.364 MB / 1.141 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01248/0.7965, allocations: 8.094 MB / 1.149 GB, free: 1.227 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003912/0.8005, allocations: 2.039 MB / 1.151 GB, free: 492 kB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00536/0.8058, allocations: 2.209 MB / 1.153 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004495/0.8104, allocations: 1.898 MB / 1.155 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000742/0.8112, allocations: 89.22 kB / 1.155 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004818/0.816, allocations: 1.156 MB / 1.157 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.000912/0.8169, allocations: 494.1 kB / 1.157 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001595/0.8185, allocations: 0.5589 MB / 1.158 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005447/0.824, allocations: 3.242 MB / 1.161 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.824, allocations: 1.062 kB / 1.161 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.725e-06/0.824, allocations: 0 / 1.161 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 9.889e-05/0.8241, allocations: 0 / 1.161 GB, free: 13.14 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.005857/0.83, allocations: 2.654 MB / 1.163 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.83, allocations: 8.969 kB / 1.163 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.8311, allocations: 320.6 kB / 1.164 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003871/0.835, allocations: 2.114 MB / 1.166 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.8351, allocations: 124.1 kB / 1.166 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002471/0.8353, allocations: 172.7 kB / 1.166 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/0.8383, allocations: 1.604 MB / 1.168 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.737e-05/0.8383, allocations: 2.188 kB / 1.168 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.8385, allocations: 70.45 kB / 1.168 GB, free: 9.184 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.252e-05/0.8385, allocations: 44.11 kB / 1.168 GB, free: 9.184 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/0.8409, allocations: 1.142 MB / 1.169 GB, free: 8.754 MB / 0.7605 GB 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.01356/0.8544, allocations: 7.878 MB / 1.176 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.8555, allocations: 486.1 kB / 1.177 GB, free: 3.105 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00065/0.8562, allocations: 328.9 kB / 1.177 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007422/0.8569, allocations: 0.7606 MB / 1.178 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.857, allocations: 40.55 kB / 1.178 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=60): time 2.886e-06/0.857, allocations: 0 / 1.178 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of matching and sorting (n=60): time 0.002735/0.8597, allocations: 0.9982 MB / 1.179 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.8598, allocations: 58.66 kB / 1.179 GB, free: 1.594 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003978/0.8638, allocations: 2.235 MB / 1.181 GB, free: 0.7461 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000196/0.864, allocations: 49.08 kB / 1.181 GB, free: 0.6992 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.8651, allocations: 1.145 MB / 1.182 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/0.8654, allocations: 213.4 kB / 1.183 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.8655, allocations: 24.53 kB / 1.183 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.8657, allocations: 349.6 kB / 1.183 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000758/0.8664, allocations: 342.8 kB / 1.183 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.8675, allocations: 0.7388 MB / 1.184 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.869, allocations: 0.965 MB / 1.185 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.869, allocations: 6.344 kB / 1.185 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002653/0.8717, allocations: 1.271 MB / 1.186 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000245/0.872, allocations: 341 kB / 1.186 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.872, allocations: 7.906 kB / 1.187 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.067e-05/0.872, allocations: 14.38 kB / 1.187 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009796/0.873, allocations: 252.1 kB / 1.187 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.083e-05/0.8731, allocations: 20.45 kB / 1.187 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002351/0.8754, allocations: 260 kB / 1.187 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.8756, allocations: 55.44 kB / 1.187 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.8756, allocations: 4.906 kB / 1.187 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002062/0.8777, allocations: 1.024 MB / 1.188 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.8777, allocations: 12.16 kB / 1.188 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.8777, allocations: 13.47 kB / 1.188 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009261/0.8786, allocations: 259.2 kB / 1.188 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/0.8787, allocations: 23.64 kB / 1.188 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002179/0.8809, allocations: 220.7 kB / 1.189 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.881, allocations: 53.55 kB / 1.189 GB, free: 12.23 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 initialization (141): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00132/0.8823, allocations: 0.5735 MB / 1.189 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005696/0.8829, allocations: 234.6 kB / 1.189 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.8848, allocations: 0.8851 MB / 1.19 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.8848, allocations: 8.125 kB / 1.19 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8848, allocations: 4 kB / 1.19 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001141/0.886, allocations: 0.6935 MB / 1.191 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005275/0.8913, allocations: 2.554 MB / 1.193 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.8913, allocations: 2.094 kB / 1.193 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005586/0.8919, allocations: 127.5 kB / 1.194 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.8919, allocations: 2.469 kB / 1.194 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/0.8919, allocations: 21.05 kB / 1.194 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.892, allocations: 4.422 kB / 1.194 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.892, allocations: 1.656 kB / 1.194 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.8944, allocations: 1.324 MB / 1.195 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.8955, allocations: 444.1 kB / 1.195 GB, free: 8.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.8958, allocations: 11.47 kB / 1.195 GB, free: 8.766 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.8969, allocations: 118 kB / 1.195 GB, free: 8.738 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.8971, allocations: 48.38 kB / 1.196 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.53e-05/0.8972, allocations: 32.52 kB / 1.196 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002641/0.8999, allocations: 1.493 MB / 1.197 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8999, allocations: 0 / 1.197 GB, free: 8.148 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003226/0.9031, allocations: 1.093 MB / 1.198 GB, free: 7.926 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001666/0.9048, allocations: 0.7727 MB / 1.199 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002799/0.9076, allocations: 1.345 MB / 1.2 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9076, allocations: 4.062 kB / 1.2 GB, free: 6.824 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005772/0.9082, allocations: 332.6 kB / 1.2 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007249/0.9154, allocations: 1.38 MB / 1.202 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006691/0.9222, allocations: 4.355 MB / 1.206 GB, free: 1.492 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/0.9235, allocations: 1.579 MB / 1.208 GB, free: 152 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002334/0.9258, allocations: 0.4981 MB / 1.208 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.9262, allocations: 167.3 kB / 1.208 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of SimCode: time 6.51e-07/0.9262, allocations: 0 / 1.208 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of Templates: time 0.07208/0.9983, allocations: 44.03 MB / 1.251 GB, free: 4.297 MB / 0.823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)