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.Dampers.Examples.MixingBoxMinimumFlow.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.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") 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.468/1.468, allocations: 255.9 MB / 271.2 MB, free: 8.887 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.001098/0.001098, allocations: 186.9 kB / 330.8 MB, free: 496 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.664/1.664, allocations: 225.7 MB / 0.6016 GB, free: 1.566 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.0008424/0.0008426, allocations: 107.5 kB / 0.709 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004452, allocations: 8 kB / 0.8261 GB, free: 115.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2717, allocations: 109.2 MB / 0.9328 GB, free: 6.273 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.7598/1.032, allocations: 190.7 MB / 1.119 GB, free: 15.8 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01808/1.05, allocations: 12.48 MB / 1.131 GB, free: 4.707 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00262/1.052, allocations: 39.91 kB / 1.131 GB, free: 4.684 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00233/1.055, allocations: 0.5815 MB / 1.132 GB, free: 4.207 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005876/1.061, allocations: 1.723 MB / 1.134 GB, free: 2.855 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009418/1.07, allocations: 2.741 MB / 1.136 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005166/1.075, allocations: 3.576 MB / 1.14 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002588/1.078, allocations: 1.249 MB / 1.141 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002975/1.081, allocations: 1.077 MB / 1.142 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/1.083, allocations: 1.065 MB / 1.143 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0007096/1.084, allocations: 84.17 kB / 1.143 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004152/1.088, allocations: 1.604 MB / 1.145 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001037/1.089, allocations: 442.3 kB / 1.145 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001953/1.091, allocations: 0.7554 MB / 1.146 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005288/1.096, allocations: 2.628 MB / 1.148 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/1.096, allocations: 0 / 1.148 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.104e-06/1.096, allocations: 0 / 1.148 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001001/1.097, allocations: 0 / 1.148 GB, free: 8.074 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.006788/1.103, allocations: 1.889 MB / 1.15 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/1.103, allocations: 11.98 kB / 1.15 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/1.105, allocations: 222 kB / 1.15 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/1.109, allocations: 1.334 MB / 1.152 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002216/1.109, allocations: 73.28 kB / 1.152 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003605/1.109, allocations: 83.94 kB / 1.152 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/1.112, allocations: 0.9244 MB / 1.153 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/1.112, allocations: 3.938 kB / 1.153 GB, free: 3.402 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001027/1.112, allocations: 28 kB / 1.153 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/1.112, allocations: 12 kB / 1.153 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/1.114, allocations: 0.8484 MB / 1.154 GB, free: 2.516 MB / 0.7136 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.007549/1.121, allocations: 3.51 MB / 1.157 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/1.123, allocations: 0.7744 MB / 1.158 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008787/1.124, allocations: 457.8 kB / 1.158 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004768/1.124, allocations: 291.7 kB / 1.159 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/1.124, allocations: 43 kB / 1.159 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001455/1.126, allocations: 239.3 kB / 1.159 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 7.655e-06/1.126, allocations: 0 / 1.159 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.003366/1.129, allocations: 1.344 MB / 1.16 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/1.129, allocations: 214.1 kB / 1.16 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003615/1.133, allocations: 1.663 MB / 1.162 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001877/1.133, allocations: 41.7 kB / 1.162 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006852/1.134, allocations: 0.5588 MB / 1.163 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/1.134, allocations: 181.3 kB / 1.163 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.265e-05/1.134, allocations: 8 kB / 1.163 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000192/1.134, allocations: 337.9 kB / 1.163 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008792/1.135, allocations: 384.9 kB / 1.163 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/1.136, allocations: 0.7112 MB / 1.164 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/1.138, allocations: 0.8431 MB / 1.165 GB, free: 6.488 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.138, allocations: 4 kB / 1.165 GB, free: 6.484 MB / 0.7292 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002506/1.141, allocations: 1.063 MB / 1.166 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.254e-05/1.141, allocations: 101.5 kB / 1.166 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/1.141, allocations: 4 kB / 1.166 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/1.141, allocations: 0 / 1.166 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008527/1.142, allocations: 163.8 kB / 1.166 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.142, allocations: 7.922 kB / 1.166 GB, free: 5.133 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/1.144, allocations: 164.7 kB / 1.166 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/1.144, allocations: 31.95 kB / 1.166 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/1.144, allocations: 4.547 kB / 1.166 GB, free: 4.938 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001736/1.145, allocations: 0.8955 MB / 1.167 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/1.145, allocations: 3.984 kB / 1.167 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/1.145, allocations: 4 kB / 1.167 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/1.146, allocations: 159.8 kB / 1.167 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/1.146, allocations: 7.938 kB / 1.167 GB, free: 3.871 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/1.148, allocations: 155.7 kB / 1.168 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-05/1.148, allocations: 35.95 kB / 1.168 GB, free: 3.684 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (61): * Single equations (assignments): 57 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0006813/1.149, allocations: 392.8 kB / 1.168 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004772/1.149, allocations: 134.3 kB / 1.168 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/1.152, allocations: 1.051 MB / 1.169 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/1.152, allocations: 8 kB / 1.169 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.152, allocations: 0 / 1.169 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/1.152, allocations: 3.984 kB / 1.169 GB, free: 2.086 MB / 0.7292 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 postOpt removeSimpleEquations (simulation): time 0.004745/1.157, allocations: 2.483 MB / 1.172 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.157, allocations: 0 / 1.172 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007344/1.157, allocations: 139.7 kB / 1.172 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/1.157, allocations: 8 kB / 1.172 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/1.158, allocations: 23.92 kB / 1.172 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.213e-06/1.158, allocations: 4 kB / 1.172 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.158, allocations: 0 / 1.172 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002815/1.16, allocations: 1.566 MB / 1.173 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008154/1.161, allocations: 355.2 kB / 1.174 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/1.162, allocations: 16 kB / 1.174 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/1.163, allocations: 103.7 kB / 1.174 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.163, allocations: 52.3 kB / 1.174 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/1.163, allocations: 20 kB / 1.174 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002328/1.166, allocations: 1.195 MB / 1.175 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.11e-07/1.166, allocations: 0 / 1.175 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002237/1.168, allocations: 0.5578 MB / 1.176 GB, free: 11.41 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * 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 (63): * Single equations (assignments): 63 * 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 Backend phase and start with SimCode phase: time 0.0008266/1.169, allocations: 272.5 kB / 1.176 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003105/1.172, allocations: 1.457 MB / 1.177 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.172, allocations: 0 / 1.177 GB, free: 9.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008392/1.173, allocations: 438.7 kB / 1.178 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00363/1.176, allocations: 0.5908 MB / 1.178 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/1.181, allocations: 2.63 MB / 1.181 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.182, allocations: 1.173 MB / 1.182 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00197/1.184, allocations: 381.6 kB / 1.182 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005953/1.185, allocations: 127.4 kB / 1.182 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of SimCode: time 2.815e-06/1.185, allocations: 0 / 1.182 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of Templates: time 0.05122/1.236, allocations: 27.84 MB / 1.21 GB, free: 8.758 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)