Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 114 kB / 16.38 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 186.9 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.853/1.853, allocations: 292.3 MB / 0.5496 GB, free: 17.42 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001402, allocations: 68.12 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2618, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.7735/1.035, allocations: 198.8 MB / 0.9789 GB, free: 3.199 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02314/1.059, allocations: 8.658 MB / 0.9874 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002782/1.061, allocations: 47.62 kB / 0.9874 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003002/1.065, allocations: 0.6988 MB / 0.9881 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006206/1.071, allocations: 1.844 MB / 0.9899 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.009268/1.08, allocations: 3.234 MB / 0.993 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0047/1.085, allocations: 2.978 MB / 0.996 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/1.087, allocations: 1.471 MB / 0.9974 GB, free: 276 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002826/1.09, allocations: 1.246 MB / 0.9986 GB, free: 15.02 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/1.092, allocations: 1.156 MB / 0.9997 GB, free: 13.86 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000718/1.093, allocations: 192 kB / 0.9999 GB, free: 13.67 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003803/1.097, allocations: 1.508 MB / 1.001 GB, free: 12.16 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.00123/1.098, allocations: 0.553 MB / 1.002 GB, free: 11.61 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002298/1.101, allocations: 0.8592 MB / 1.003 GB, free: 10.74 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005384/1.106, allocations: 2.668 MB / 1.005 GB, free: 8.066 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/1.106, allocations: 1.875 kB / 1.005 GB, free: 8.066 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.563e-06/1.106, allocations: 0 / 1.005 GB, free: 8.066 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.077e-05/1.106, allocations: 0 / 1.005 GB, free: 8.066 MB / 0.795 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.007451/1.113, allocations: 2.191 MB / 1.008 GB, free: 5.82 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/1.114, allocations: 8.625 kB / 1.008 GB, free: 5.812 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/1.115, allocations: 226 kB / 1.008 GB, free: 5.59 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003266/1.118, allocations: 1.377 MB / 1.009 GB, free: 4.16 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.806e-05/1.118, allocations: 57.31 kB / 1.009 GB, free: 4.105 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/1.119, allocations: 83.94 kB / 1.009 GB, free: 4.023 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/1.121, allocations: 0.9205 MB / 1.01 GB, free: 3.074 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/1.121, allocations: 0 / 1.01 GB, free: 3.074 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.839e-05/1.121, allocations: 28 kB / 1.01 GB, free: 3.047 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/1.121, allocations: 16 kB / 1.01 GB, free: 3.031 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/1.122, allocations: 0.8249 MB / 1.011 GB, free: 2.203 MB / 0.795 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.006881/1.129, allocations: 3.498 MB / 1.014 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/1.131, allocations: 0.7664 MB / 1.015 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000826/1.132, allocations: 437.9 kB / 1.016 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004514/1.132, allocations: 295.7 kB / 1.016 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/1.132, allocations: 43 kB / 1.016 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001159/1.133, allocations: 196.4 kB / 1.016 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=52): time 5.971e-06/1.133, allocations: 0 / 1.016 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of matching and sorting (n=52): time 0.003349/1.137, allocations: 1.317 MB / 1.017 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/1.137, allocations: 214.1 kB / 1.018 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003209/1.14, allocations: 1.679 MB / 1.019 GB, free: 9.469 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000145/1.14, allocations: 41.7 kB / 1.019 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005231/1.141, allocations: 0.5542 MB / 1.02 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001843/1.141, allocations: 177.4 kB / 1.02 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003363/1.141, allocations: 170 kB / 1.02 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.142, allocations: 329.9 kB / 1.02 GB, free: 8.184 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008333/1.142, allocations: 394.8 kB / 1.021 GB, free: 7.793 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/1.144, allocations: 0.6922 MB / 1.021 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/1.145, allocations: 0.8244 MB / 1.022 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.145, allocations: 4 kB / 1.022 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002255/1.148, allocations: 1.052 MB / 1.023 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.148, allocations: 4 kB / 1.023 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/1.148, allocations: 11.92 kB / 1.023 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.148, allocations: 4 kB / 1.023 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008403/1.148, allocations: 151.8 kB / 1.023 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/1.148, allocations: 4 kB / 1.023 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/1.15, allocations: 118.5 kB / 1.024 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.15, allocations: 31.97 kB / 1.024 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001247/1.152, allocations: 0.6142 MB / 1.024 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001159/1.153, allocations: 0.7118 MB / 1.025 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001601/1.154, allocations: 0.8182 MB / 1.026 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.59e-06/1.154, allocations: 3.938 kB / 1.026 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002416/1.157, allocations: 1.037 MB / 1.027 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.157, allocations: 8 kB / 1.027 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/1.157, allocations: 4 kB / 1.027 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/1.157, allocations: 0 / 1.027 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008057/1.158, allocations: 157 kB / 1.027 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/1.158, allocations: 4.781 kB / 1.027 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/1.16, allocations: 167.5 kB / 1.027 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.57e-05/1.16, allocations: 31.95 kB / 1.027 GB, free: 1.09 MB / 0.8106 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.0003372/1.16, allocations: 228.1 kB / 1.027 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004726/1.161, allocations: 138.2 kB / 1.027 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/1.163, allocations: 1.026 MB / 1.028 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/1.163, allocations: 7.984 kB / 1.028 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.163, allocations: 0 / 1.028 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007726/1.164, allocations: 343.2 kB / 1.029 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003773/1.164, allocations: 16 kB / 1.029 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/1.166, allocations: 79.83 kB / 1.029 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/1.166, allocations: 40.5 kB / 1.029 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002377/1.168, allocations: 0.9554 MB / 1.03 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003207/1.171, allocations: 1.585 MB / 1.031 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000801/1.172, allocations: 404.3 kB / 1.032 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002977/1.175, allocations: 1.203 MB / 1.033 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of Backend: time 2.595e-06/1.175, allocations: 0 / 1.033 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.004882/1.18, allocations: 1.479 MB / 1.034 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of SimCode: time 0.006385/1.186, allocations: 2.773 MB / 1.037 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of Templates: time 0.08013/1.267, allocations: 33.59 MB / 1.07 GB, free: 5.598 MB / 0.8575 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)