Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.651/2.651, allocations: 254.9 MB / 269.9 MB, free: 9.656 MB / 218.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: 199.4 kB / 329.5 MB, free: 1.168 MB / 250.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 2.455/2.455, allocations: 225.6 MB / 0.6001 GB, free: 0.5156 MB / 426.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.001276/0.001275, allocations: 91.52 kB / 0.7074 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004802/0.0004803, allocations: 11.38 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.215, allocations: 109.1 MB / 0.9308 GB, free: 24.93 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 1.011/1.226, allocations: 104.5 MB / 1.033 GB, free: 27.51 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.06132/1.287, allocations: 22.81 MB / 1.055 GB, free: 26.67 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006744/1.294, allocations: 103.4 kB / 1.055 GB, free: 26.67 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.006006/1.3, allocations: 0.8955 MB / 1.056 GB, free: 26.48 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01604/1.316, allocations: 2.842 MB / 1.059 GB, free: 25.35 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01421/1.331, allocations: 2.306 MB / 1.061 GB, free: 24.55 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01937/1.35, allocations: 8.094 MB / 1.069 GB, free: 21.39 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007028/1.357, allocations: 1.919 MB / 1.071 GB, free: 20.64 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009218/1.366, allocations: 2.203 MB / 1.073 GB, free: 19.84 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00656/1.373, allocations: 1.901 MB / 1.075 GB, free: 19.24 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001171/1.374, allocations: 88.91 kB / 1.075 GB, free: 19.24 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007306/1.382, allocations: 1.147 MB / 1.076 GB, free: 18.93 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001869/1.384, allocations: 488.3 kB / 1.077 GB, free: 18.71 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00235/1.386, allocations: 0.5584 MB / 1.077 GB, free: 18.4 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.008764/1.395, allocations: 3.225 MB / 1.08 GB, free: 16.48 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.857e-06/1.395, allocations: 0 / 1.08 GB, free: 16.48 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.376e-06/1.395, allocations: 1.344 kB / 1.08 GB, free: 16.48 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001907/1.395, allocations: 0 / 1.08 GB, free: 16.48 MB / 0.6511 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.01022/1.405, allocations: 2.675 MB / 1.083 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/1.405, allocations: 9.688 kB / 1.083 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/1.407, allocations: 323.7 kB / 1.083 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00825/1.416, allocations: 2.037 MB / 1.085 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/1.416, allocations: 122.7 kB / 1.085 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005273/1.417, allocations: 164.6 kB / 1.085 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006178/1.423, allocations: 1.59 MB / 1.087 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.917e-05/1.423, allocations: 1.094 kB / 1.087 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003086/1.423, allocations: 61.59 kB / 1.087 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.867e-05/1.423, allocations: 43.91 kB / 1.087 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0053/1.429, allocations: 1.143 MB / 1.088 GB, free: 11.18 MB / 0.6511 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.02328/1.452, allocations: 7.857 MB / 1.096 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/1.454, allocations: 469.3 kB / 1.096 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/1.455, allocations: 330.7 kB / 1.097 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009372/1.456, allocations: 0.7557 MB / 1.097 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.707e-05/1.456, allocations: 38.41 kB / 1.097 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=60): time 4.99e-06/1.456, allocations: 0 / 1.097 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60): time 0.004697/1.461, allocations: 0.9947 MB / 1.098 GB, free: 2.719 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/1.461, allocations: 61.16 kB / 1.098 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007207/1.468, allocations: 2.235 MB / 1.101 GB, free: 1.457 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003674/1.469, allocations: 46.89 kB / 1.101 GB, free: 1.41 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001851/1.471, allocations: 1.145 MB / 1.102 GB, free: 416 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005243/1.471, allocations: 212.4 kB / 1.102 GB, free: 232 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/1.471, allocations: 27.28 kB / 1.102 GB, free: 208 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002174/1.472, allocations: 353.9 kB / 1.102 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/1.473, allocations: 335.3 kB / 1.103 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002405/1.476, allocations: 0.7383 MB / 1.103 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002731/1.478, allocations: 462.7 kB / 1.104 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.32e-05/1.479, allocations: 7.188 kB / 1.104 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00625/1.485, allocations: 1.26 MB / 1.105 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004247/1.485, allocations: 345.5 kB / 1.105 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-05/1.485, allocations: 6.688 kB / 1.105 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.501e-05/1.485, allocations: 13.66 kB / 1.105 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/1.488, allocations: 260.6 kB / 1.106 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.793e-05/1.488, allocations: 13.22 kB / 1.106 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005045/1.493, allocations: 256 kB / 1.106 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004219/1.494, allocations: 52.86 kB / 1.106 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.494, allocations: 7.188 kB / 1.106 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004346/1.498, allocations: 1.014 MB / 1.107 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.226e-05/1.498, allocations: 9.375 kB / 1.107 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-05/1.498, allocations: 16.31 kB / 1.107 GB, free: 13.03 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/1.501, allocations: 257.8 kB / 1.107 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.144e-05/1.501, allocations: 16.91 kB / 1.107 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0049/1.506, allocations: 230.5 kB / 1.108 GB, free: 12.83 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004252/1.507, allocations: 55.92 kB / 1.108 GB, free: 12.82 MB / 0.6667 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.002442/1.509, allocations: 0.5646 MB / 1.108 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/1.51, allocations: 238.2 kB / 1.108 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003986/1.514, allocations: 0.8851 MB / 1.109 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/1.514, allocations: 6.094 kB / 1.109 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/1.514, allocations: 0 / 1.109 GB, free: 11.77 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002509/1.517, allocations: 0.6854 MB / 1.11 GB, free: 11.35 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/1.528, allocations: 2.533 MB / 1.112 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/1.528, allocations: 0 / 1.112 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/1.529, allocations: 131.9 kB / 1.112 GB, free: 9.074 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.668e-05/1.529, allocations: 8 kB / 1.112 GB, free: 9.066 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/1.53, allocations: 15.98 kB / 1.113 GB, free: 9.051 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/1.53, allocations: 4 kB / 1.113 GB, free: 9.047 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/1.53, allocations: 4 kB / 1.113 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005254/1.535, allocations: 1.311 MB / 1.114 GB, free: 7.707 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002395/1.537, allocations: 441.9 kB / 1.114 GB, free: 7.254 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001128/1.539, allocations: 12 kB / 1.114 GB, free: 7.242 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00402/1.543, allocations: 123.7 kB / 1.114 GB, free: 7.121 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/1.543, allocations: 40.45 kB / 1.114 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/1.543, allocations: 35.97 kB / 1.114 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.00579/1.549, allocations: 1.492 MB / 1.116 GB, free: 5.551 MB / 0.6667 GB Notification: Performance of sort global known variables: time 9.32e-07/1.549, allocations: 3.938 kB / 1.116 GB, free: 5.547 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0078/1.557, allocations: 1.087 MB / 1.117 GB, free: 4.457 MB / 0.6667 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.004404/1.561, allocations: 0.7761 MB / 1.118 GB, free: 3.828 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006479/1.568, allocations: 1.346 MB / 1.119 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/1.568, allocations: 0 / 1.119 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/1.569, allocations: 323 kB / 1.119 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01922/1.589, allocations: 1.396 MB / 1.121 GB, free: 0.7891 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01511/1.604, allocations: 4.352 MB / 1.125 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002817/1.607, allocations: 1.578 MB / 1.126 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.005168/1.612, allocations: 490.7 kB / 1.127 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001181/1.613, allocations: 171.4 kB / 1.127 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of SimCode: time 1.633e-06/1.613, allocations: 4 kB / 1.127 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of Templates: time 0.1575/1.771, allocations: 43.73 MB / 1.17 GB, free: 15.09 MB / 0.7292 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)