Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.75/1.75, allocations: 297.4 MB / 312.6 MB, free: 2.953 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.001389/0.001389, allocations: 186 kB / 382.3 MB, free: 14.85 MB / 314.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.52/1.52, allocations: 225.7 MB / 0.6617 GB, free: 7.27 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.0007284/0.0007283, allocations: 93.25 kB / 0.7789 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003634/0.0003635, allocations: 12 kB / 0.9058 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6493/0.6497, allocations: 119.2 MB / 1.022 GB, free: 58.23 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09804/0.7478, allocations: 113.1 MB / 1.133 GB, free: 6.59 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.07321/0.8211, allocations: 33.23 MB / 1.165 GB, free: 10.74 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008268/0.8295, allocations: 104 kB / 1.165 GB, free: 10.68 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.007379/0.8369, allocations: 1.048 MB / 1.166 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.01402/0.851, allocations: 3.335 MB / 1.169 GB, free: 8.129 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.008914/0.8599, allocations: 2.838 MB / 1.172 GB, free: 6.523 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.01352/0.8735, allocations: 9.434 MB / 1.181 GB, free: 3.023 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004696/0.8782, allocations: 2.053 MB / 1.183 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006525/0.8847, allocations: 2.361 MB / 1.186 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005967/0.8908, allocations: 2.015 MB / 1.188 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.001251/0.892, allocations: 88.12 kB / 1.188 GB, free: 304 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007565/0.8996, allocations: 1.382 MB / 1.189 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.002554/0.9022, allocations: 0.4958 MB / 1.19 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.00536/0.9076, allocations: 1.315 MB / 1.191 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00913/0.9168, allocations: 4.108 MB / 1.195 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.9168, allocations: 0 / 1.195 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9168, allocations: 4.5 kB / 1.195 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001572/0.917, allocations: 7.938 kB / 1.195 GB, free: 12.42 MB / 0.7761 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.005949/0.923, allocations: 2.65 MB / 1.198 GB, free: 10 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.923, allocations: 8.031 kB / 1.198 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/0.9242, allocations: 318.9 kB / 1.198 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/0.9285, allocations: 2.12 MB / 1.2 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-05/0.9286, allocations: 127 kB / 1.2 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.9288, allocations: 168.6 kB / 1.2 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/0.9318, allocations: 1.603 MB / 1.202 GB, free: 6.176 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/0.9319, allocations: 3.938 kB / 1.202 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001326/0.932, allocations: 67.94 kB / 1.202 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.932, allocations: 36 kB / 1.202 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.9341, allocations: 1.151 MB / 1.203 GB, free: 4.914 MB / 0.7761 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.01007/0.9441, allocations: 7.888 MB / 1.211 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007292/0.9449, allocations: 466 kB / 1.211 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/0.9454, allocations: 338.6 kB / 1.212 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005717/0.946, allocations: 0.7524 MB / 1.212 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.946, allocations: 46.95 kB / 1.212 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=60): time 2.204e-06/0.946, allocations: 0 / 1.212 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of matching and sorting (n=60): time 0.001909/0.9479, allocations: 0.9959 MB / 1.213 GB, free: 9.75 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.948, allocations: 59.97 kB / 1.213 GB, free: 9.68 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00299/0.951, allocations: 2.238 MB / 1.215 GB, free: 7.426 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.9511, allocations: 49.7 kB / 1.216 GB, free: 7.371 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.9522, allocations: 1.145 MB / 1.217 GB, free: 6.215 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.9524, allocations: 216.9 kB / 1.217 GB, free: 6 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.588e-05/0.9525, allocations: 20 kB / 1.217 GB, free: 5.98 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.9526, allocations: 353.9 kB / 1.217 GB, free: 5.629 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006511/0.9533, allocations: 346.5 kB / 1.218 GB, free: 5.293 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009775/0.9543, allocations: 0.7463 MB / 1.218 GB, free: 4.387 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.9559, allocations: 0.9902 MB / 1.219 GB, free: 3.285 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.9559, allocations: 0 / 1.219 GB, free: 3.285 MB / 0.7917 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002434/0.9583, allocations: 1.299 MB / 1.221 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002164/0.9586, allocations: 338.9 kB / 1.221 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.9586, allocations: 12 kB / 1.221 GB, free: 1.516 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.9586, allocations: 12 kB / 1.221 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009668/0.9596, allocations: 263.6 kB / 1.221 GB, free: 1.246 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.462e-05/0.9596, allocations: 15.94 kB / 1.221 GB, free: 1.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.9615, allocations: 254.1 kB / 1.221 GB, free: 0.9805 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.9616, allocations: 59.92 kB / 1.221 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.9616, allocations: 4 kB / 1.221 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00164/0.9632, allocations: 1.015 MB / 1.222 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.9633, allocations: 11.98 kB / 1.222 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.9633, allocations: 19.94 kB / 1.222 GB, free: 15.87 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008503/0.9641, allocations: 247.6 kB / 1.223 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.102e-05/0.9642, allocations: 19.94 kB / 1.223 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.9659, allocations: 226.7 kB / 1.223 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.309e-05/0.966, allocations: 47.98 kB / 1.223 GB, free: 15.34 MB / 0.8073 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001463/0.9675, allocations: 0.5793 MB / 1.224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004102/0.9679, allocations: 233 kB / 1.224 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001672/0.9696, allocations: 0.8892 MB / 1.225 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.9696, allocations: 8 kB / 1.225 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.9696, allocations: 0 / 1.225 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009909/0.9706, allocations: 0.697 MB / 1.225 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004104/0.9748, allocations: 2.55 MB / 1.228 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.9748, allocations: 4.094 kB / 1.228 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005332/0.9753, allocations: 131.8 kB / 1.228 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.6e-05/0.9753, allocations: 4 kB / 1.228 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.535e-05/0.9754, allocations: 23.98 kB / 1.228 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.9754, allocations: 4 kB / 1.228 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.9754, allocations: 0 / 1.228 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.9773, allocations: 1.321 MB / 1.229 GB, free: 8.754 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007987/0.9781, allocations: 445.9 kB / 1.23 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.9783, allocations: 12 kB / 1.23 GB, free: 8.285 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.9794, allocations: 127.6 kB / 1.23 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.9795, allocations: 44.81 kB / 1.23 GB, free: 8.117 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.408e-05/0.9796, allocations: 31.98 kB / 1.23 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.002135/0.9817, allocations: 1.494 MB / 1.231 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9817, allocations: 0 / 1.231 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00286/0.9846, allocations: 1.095 MB / 1.232 GB, free: 5.488 MB / 0.8073 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 (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.00207/0.9867, allocations: 0.7905 MB / 1.233 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002882/0.9896, allocations: 1.362 MB / 1.235 GB, free: 3.469 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/0.9896, allocations: 0.5625 kB / 1.235 GB, free: 3.469 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005591/0.9902, allocations: 327 kB / 1.235 GB, free: 3.148 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006941/0.9971, allocations: 1.399 MB / 1.236 GB, free: 1.758 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00615/1.003, allocations: 4.549 MB / 1.241 GB, free: 13.16 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/1.004, allocations: 1.574 MB / 1.242 GB, free: 11.55 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002243/1.007, allocations: 0.4948 MB / 1.243 GB, free: 11.05 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/1.007, allocations: 171.4 kB / 1.243 GB, free: 10.89 MB / 0.823 GB Notification: Performance of SimCode: time 9.32e-07/1.007, allocations: 0 / 1.243 GB, free: 10.89 MB / 0.823 GB Notification: Performance of Templates: time 0.08334/1.09, allocations: 45.23 MB / 1.287 GB, free: 14.26 MB / 0.8698 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)