Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.898/1.898, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.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.001358/0.001358, allocations: 195.1 kB / 393.1 MB, free: 4.066 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.571/1.571, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000848/0.0008476, allocations: 102.2 kB / 0.7935 GB, free: 40 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000409/0.000409, allocations: 8.531 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7338/0.7343, allocations: 121.3 MB / 1.041 GB, free: 58.08 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.2264/0.9607, allocations: 190.2 MB / 1.227 GB, free: 4.668 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.9729, allocations: 6.797 MB / 1.233 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002353/0.9754, allocations: 31.75 kB / 1.233 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.002056/0.9774, allocations: 0.4969 MB / 1.234 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.007071/0.9845, allocations: 1.749 MB / 1.235 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.005562/0.9901, allocations: 1.516 MB / 1.237 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00585/0.996, allocations: 3.528 MB / 1.24 GB, free: 7.434 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002635/0.9986, allocations: 1.217 MB / 1.242 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003146/1.002, allocations: 1.066 MB / 1.243 GB, free: 5.129 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002569/1.004, allocations: 1.074 MB / 1.244 GB, free: 4.051 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0007901/1.005, allocations: 76 kB / 1.244 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004112/1.009, allocations: 1.485 MB / 1.245 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/1.01, allocations: 430.4 kB / 1.246 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.002135/1.013, allocations: 0.7476 MB / 1.246 GB, free: 1.309 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.005288/1.018, allocations: 2.476 MB / 1.249 GB, free: 14.82 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/1.018, allocations: 0 / 1.249 GB, free: 14.82 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.356e-06/1.018, allocations: 0 / 1.249 GB, free: 14.82 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.515e-05/1.018, allocations: 4 kB / 1.249 GB, free: 14.82 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.006324/1.024, allocations: 1.823 MB / 1.251 GB, free: 12.95 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/1.024, allocations: 8.031 kB / 1.251 GB, free: 12.94 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/1.026, allocations: 238 kB / 1.251 GB, free: 12.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/1.029, allocations: 1.302 MB / 1.252 GB, free: 11.35 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/1.029, allocations: 65.62 kB / 1.252 GB, free: 11.28 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/1.029, allocations: 76 kB / 1.252 GB, free: 11.21 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/1.031, allocations: 0.8183 MB / 1.253 GB, free: 10.38 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/1.031, allocations: 4 kB / 1.253 GB, free: 10.38 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.476e-05/1.031, allocations: 27.98 kB / 1.253 GB, free: 10.35 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-05/1.031, allocations: 29.31 kB / 1.253 GB, free: 10.32 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/1.033, allocations: 0.864 MB / 1.254 GB, free: 9.457 MB / 0.823 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.0071/1.04, allocations: 3.474 MB / 1.257 GB, free: 5.824 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/1.041, allocations: 0.7399 MB / 1.258 GB, free: 5.059 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008201/1.042, allocations: 454.9 kB / 1.258 GB, free: 4.613 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000466/1.043, allocations: 299.7 kB / 1.259 GB, free: 4.266 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.138e-05/1.043, allocations: 38.94 kB / 1.259 GB, free: 4.219 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001598/1.044, allocations: 235.4 kB / 1.259 GB, free: 3.988 MB / 0.823 GB Notification: Performance of pre-optimization done (n=53): time 1.222e-05/1.044, allocations: 0 / 1.259 GB, free: 3.988 MB / 0.823 GB Notification: Performance of matching and sorting (n=53): time 0.003854/1.048, allocations: 1.341 MB / 1.26 GB, free: 2.641 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/1.048, allocations: 55.84 kB / 1.26 GB, free: 2.574 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00413/1.052, allocations: 1.629 MB / 1.262 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001605/1.053, allocations: 41.7 kB / 1.262 GB, free: 0.8828 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005814/1.053, allocations: 0.5307 MB / 1.262 GB, free: 352 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/1.054, allocations: 185.3 kB / 1.263 GB, free: 164 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.88e-05/1.054, allocations: 12 kB / 1.263 GB, free: 152 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001658/1.054, allocations: 329.9 kB / 1.263 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007626/1.055, allocations: 360.8 kB / 1.263 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/1.056, allocations: 0.6319 MB / 1.264 GB, free: 14.74 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/1.058, allocations: 0.7921 MB / 1.265 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.058, allocations: 0 / 1.265 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002636/1.06, allocations: 0.9816 MB / 1.266 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.06, allocations: 93.2 kB / 1.266 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/1.06, allocations: 3.984 kB / 1.266 GB, free: 12.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/1.06, allocations: 4 kB / 1.266 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009959/1.061, allocations: 175.7 kB / 1.266 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.25e-05/1.061, allocations: 4 kB / 1.266 GB, free: 12.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/1.064, allocations: 165.9 kB / 1.266 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/1.064, allocations: 27.97 kB / 1.266 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/1.064, allocations: 4 kB / 1.266 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001735/1.066, allocations: 0.8213 MB / 1.267 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/1.066, allocations: 4 kB / 1.267 GB, free: 11.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/1.066, allocations: 7.984 kB / 1.267 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008542/1.067, allocations: 163.8 kB / 1.267 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/1.067, allocations: 7.922 kB / 1.267 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002301/1.069, allocations: 158.8 kB / 1.267 GB, free: 11.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.502e-05/1.069, allocations: 31.95 kB / 1.267 GB, free: 11.3 MB / 0.8386 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 (57): * Single equations (assignments): 57 * 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.0008216/1.07, allocations: 374.6 kB / 1.268 GB, free: 10.92 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007016/1.071, allocations: 134.4 kB / 1.268 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/1.073, allocations: 1.043 MB / 1.269 GB, free: 9.746 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/1.073, allocations: 8 kB / 1.269 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.073, allocations: 0 / 1.269 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/1.073, allocations: 3.984 kB / 1.269 GB, free: 9.734 MB / 0.8386 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.005436/1.079, allocations: 2.493 MB / 1.271 GB, free: 7.137 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.079, allocations: 4.281 kB / 1.271 GB, free: 7.133 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/1.08, allocations: 139.8 kB / 1.271 GB, free: 6.996 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.446e-05/1.08, allocations: 4 kB / 1.271 GB, free: 6.992 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.091e-05/1.08, allocations: 27.94 kB / 1.271 GB, free: 6.965 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-05/1.08, allocations: 8 kB / 1.271 GB, free: 6.957 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.732e-05/1.08, allocations: 3.984 kB / 1.271 GB, free: 6.953 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003185/1.083, allocations: 1.551 MB / 1.273 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009812/1.084, allocations: 347.3 kB / 1.273 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004458/1.084, allocations: 27.92 kB / 1.273 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/1.086, allocations: 99.73 kB / 1.273 GB, free: 4.871 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/1.086, allocations: 48.44 kB / 1.273 GB, free: 4.824 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.367e-05/1.086, allocations: 23.98 kB / 1.273 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.002562/1.089, allocations: 1.166 MB / 1.275 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.089, allocations: 0 / 1.275 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002124/1.091, allocations: 0.507 MB / 1.275 GB, free: 3.125 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.s[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 (64): * Single equations (assignments): 64 * 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.0006647/1.092, allocations: 244.6 kB / 1.275 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002859/1.095, allocations: 1.264 MB / 1.277 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.095, allocations: 0 / 1.277 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0008404/1.095, allocations: 435.4 kB / 1.277 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/1.099, allocations: 0.5594 MB / 1.278 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004532/1.104, allocations: 2.597 MB / 1.28 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009908/1.105, allocations: 1.149 MB / 1.281 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002021/1.107, allocations: 369 kB / 1.282 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006783/1.108, allocations: 123.4 kB / 1.282 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of SimCode: time 1.042e-06/1.108, allocations: 0 / 1.282 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of Templates: time 0.04594/1.154, allocations: 26 MB / 1.307 GB, free: 2.688 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)