Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 255.9 MB / 271.2 MB, free: 8.863 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.0009882/0.0009882, allocations: 180.8 kB / 330.8 MB, free: 424 kB / 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 1.729/1.729, allocations: 225.7 MB / 0.6016 GB, free: 15.84 MB / 442.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.000866/0.000866, allocations: 94.22 kB / 0.709 GB, free: 5.336 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003199, allocations: 9.344 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1949, allocations: 109.2 MB / 0.9328 GB, free: 24.07 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.5152/0.7101, allocations: 113 MB / 1.043 GB, free: 31.86 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03889/0.7491, allocations: 33.18 MB / 1.076 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005575/0.7547, allocations: 104 kB / 1.076 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004074/0.7588, allocations: 1.036 MB / 1.077 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.7695, allocations: 3.344 MB / 1.08 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007827/0.7773, allocations: 2.777 MB / 1.083 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01226/0.7896, allocations: 9.427 MB / 1.092 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004263/0.7939, allocations: 2.04 MB / 1.094 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005523/0.7995, allocations: 2.35 MB / 1.096 GB, free: 5.391 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004241/0.8037, allocations: 2.004 MB / 1.098 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0008346/0.8046, allocations: 92.59 kB / 1.098 GB, free: 4.406 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00498/0.8096, allocations: 1.379 MB / 1.1 GB, free: 3.766 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001276/0.8109, allocations: 0.4915 MB / 1.1 GB, free: 3.422 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.003809/0.8147, allocations: 1.305 MB / 1.101 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.007216/0.8219, allocations: 4.093 MB / 1.105 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.822, allocations: 3.938 kB / 1.105 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.064e-06/0.822, allocations: 4 kB / 1.105 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001609/0.8222, allocations: 0 / 1.105 GB, free: 15.91 MB / 0.6667 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.004953/0.8271, allocations: 2.645 MB / 1.108 GB, free: 13.97 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.8272, allocations: 14.08 kB / 1.108 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007617/0.828, allocations: 320 kB / 1.108 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003492/0.8315, allocations: 2.109 MB / 1.11 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.093e-05/0.8316, allocations: 121.7 kB / 1.11 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.8318, allocations: 167.4 kB / 1.111 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002873/0.8347, allocations: 1.596 MB / 1.112 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.8347, allocations: 7.844 kB / 1.112 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.8349, allocations: 63.09 kB / 1.112 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.852e-05/0.8349, allocations: 48.16 kB / 1.112 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.8369, allocations: 1.139 MB / 1.113 GB, free: 10.49 MB / 0.6667 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.01144/0.8484, allocations: 7.848 MB / 1.121 GB, free: 3.777 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008891/0.8493, allocations: 478.9 kB / 1.121 GB, free: 3.535 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005733/0.8499, allocations: 326.7 kB / 1.122 GB, free: 3.375 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007698/0.8507, allocations: 0.7526 MB / 1.122 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.8508, allocations: 42.19 kB / 1.123 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=60): time 3.626e-06/0.8508, allocations: 0 / 1.123 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of matching and sorting (n=60): time 0.002043/0.8528, allocations: 0.9893 MB / 1.123 GB, free: 1.773 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.8529, allocations: 55.97 kB / 1.124 GB, free: 1.707 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003421/0.8563, allocations: 2.242 MB / 1.126 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001311/0.8564, allocations: 45.7 kB / 1.126 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000999/0.8575, allocations: 1.141 MB / 1.127 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.8577, allocations: 216.9 kB / 1.127 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.8578, allocations: 24 kB / 1.127 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.8579, allocations: 349.9 kB / 1.127 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006576/0.8586, allocations: 346.5 kB / 1.128 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009395/0.8595, allocations: 0.7424 MB / 1.129 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.861, allocations: 0.9902 MB / 1.129 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.861, allocations: 3.938 kB / 1.129 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002557/0.8636, allocations: 1.287 MB / 1.131 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002644/0.8639, allocations: 338.9 kB / 1.131 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.8639, allocations: 8 kB / 1.131 GB, free: 9.582 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.8639, allocations: 19.98 kB / 1.131 GB, free: 9.562 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009765/0.8649, allocations: 255.6 kB / 1.131 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.372e-05/0.865, allocations: 15.94 kB / 1.131 GB, free: 9.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/0.8673, allocations: 262 kB / 1.132 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.8674, allocations: 51.98 kB / 1.132 GB, free: 8.988 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.8674, allocations: 11.88 kB / 1.132 GB, free: 8.977 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001752/0.8692, allocations: 1.019 MB / 1.133 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.8692, allocations: 8 kB / 1.133 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.8693, allocations: 16 kB / 1.133 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009085/0.8702, allocations: 251.6 kB / 1.133 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.32e-05/0.8702, allocations: 19.94 kB / 1.133 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.872, allocations: 222.9 kB / 1.133 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/0.8721, allocations: 51.97 kB / 1.133 GB, free: 7.402 MB / 0.6823 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.001087/0.8732, allocations: 0.5793 MB / 1.134 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003927/0.8736, allocations: 233.3 kB / 1.134 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.8753, allocations: 0.8814 MB / 1.135 GB, free: 5.699 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.706e-05/0.8753, allocations: 11.98 kB / 1.135 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8753, allocations: 0 / 1.135 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/0.8763, allocations: 0.6931 MB / 1.136 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004451/0.8808, allocations: 2.534 MB / 1.138 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.8808, allocations: 3.938 kB / 1.138 GB, free: 2.355 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/0.8814, allocations: 123.9 kB / 1.138 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-06/0.8814, allocations: 4 kB / 1.138 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.8815, allocations: 19.98 kB / 1.138 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.8815, allocations: 0 / 1.138 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8815, allocations: 4 kB / 1.138 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00218/0.8837, allocations: 1.313 MB / 1.139 GB, free: 0.8672 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.8848, allocations: 441.9 kB / 1.14 GB, free: 424 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004997/0.8853, allocations: 12 kB / 1.14 GB, free: 412 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/0.8868, allocations: 115.7 kB / 1.14 GB, free: 296 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.8869, allocations: 44.44 kB / 1.14 GB, free: 252 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.052e-05/0.887, allocations: 31.98 kB / 1.14 GB, free: 220 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002627/0.8896, allocations: 1.49 MB / 1.142 GB, free: 14.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/0.8896, allocations: 4 kB / 1.142 GB, free: 14.71 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004634/0.8942, allocations: 1.091 MB / 1.143 GB, free: 13.62 MB / 0.698 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.00243/0.8967, allocations: 0.7964 MB / 1.143 GB, free: 12.94 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003784/0.9005, allocations: 1.351 MB / 1.145 GB, free: 11.59 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.9005, allocations: 0 / 1.145 GB, free: 11.59 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007893/0.9013, allocations: 335 kB / 1.145 GB, free: 11.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01123/0.9126, allocations: 1.396 MB / 1.146 GB, free: 9.875 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.9232, allocations: 4.537 MB / 1.151 GB, free: 5.309 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001791/0.925, allocations: 1.578 MB / 1.152 GB, free: 3.695 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003992/0.929, allocations: 494.6 kB / 1.153 GB, free: 3.207 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007483/0.9298, allocations: 175.4 kB / 1.153 GB, free: 3.035 MB / 0.698 GB Notification: Performance of SimCode: time 8.12e-07/0.9298, allocations: 0 / 1.153 GB, free: 3.035 MB / 0.698 GB Notification: Performance of Templates: time 0.1245/1.054, allocations: 44.97 MB / 1.197 GB, free: 6.68 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)