Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.752/1.752, allocations: 288.3 MB / 303.2 MB, free: 8.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001594/0.001594, allocations: 194.6 kB / 371.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.608/1.608, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009303/0.0009304, allocations: 101.2 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.0003935, allocations: 12.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2666, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.8491/1.116, allocations: 164.8 MB / 1.14 GB, free: 15.48 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01674/1.133, allocations: 8.409 MB / 1.149 GB, free: 10.95 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002842/1.135, allocations: 38.47 kB / 1.149 GB, free: 10.93 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002791/1.138, allocations: 0.7798 MB / 1.149 GB, free: 10.29 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007794/1.146, allocations: 1.753 MB / 1.151 GB, free: 8.859 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01045/1.157, allocations: 2.757 MB / 1.154 GB, free: 7.047 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005521/1.162, allocations: 1.702 MB / 1.155 GB, free: 5.914 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003371/1.166, allocations: 1.156 MB / 1.157 GB, free: 5.164 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003903/1.169, allocations: 1.107 MB / 1.158 GB, free: 4.496 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/1.172, allocations: 0.8559 MB / 1.158 GB, free: 3.953 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005727/1.172, allocations: 77.59 kB / 1.159 GB, free: 3.953 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003293/1.176, allocations: 0.824 MB / 1.159 GB, free: 3.594 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006599/1.176, allocations: 417 kB / 1.16 GB, free: 3.305 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000726/1.177, allocations: 287.7 kB / 1.16 GB, free: 3.133 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003315/1.18, allocations: 1.938 MB / 1.162 GB, free: 1.754 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/1.18, allocations: 0 / 1.162 GB, free: 1.754 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.923e-06/1.18, allocations: 4 kB / 1.162 GB, free: 1.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.521e-05/1.18, allocations: 1.219 kB / 1.162 GB, free: 1.75 MB / 0.698 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.006187/1.187, allocations: 1.878 MB / 1.164 GB, free: 412 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/1.187, allocations: 9.469 kB / 1.164 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/1.188, allocations: 244.6 kB / 1.164 GB, free: 284 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002985/1.191, allocations: 1.271 MB / 1.165 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/1.191, allocations: 67.62 kB / 1.165 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/1.191, allocations: 84.31 kB / 1.165 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001985/1.193, allocations: 0.9246 MB / 1.166 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.193, allocations: 0 / 1.166 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.593e-05/1.194, allocations: 29.48 kB / 1.166 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/1.194, allocations: 15.12 kB / 1.166 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/1.196, allocations: 0.8507 MB / 1.167 GB, free: 14.29 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.007887/1.204, allocations: 3.49 MB / 1.171 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/1.205, allocations: 0.7958 MB / 1.171 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/1.206, allocations: 30.27 kB / 1.171 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/1.206, allocations: 41.55 kB / 1.171 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001285/1.207, allocations: 234.6 kB / 1.172 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 3.386e-06/1.207, allocations: 0 / 1.172 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.003112/1.21, allocations: 1.344 MB / 1.173 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/1.21, allocations: 213.5 kB / 1.173 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003207/1.213, allocations: 1.662 MB / 1.175 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/1.214, allocations: 45.45 kB / 1.175 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005945/1.214, allocations: 0.5582 MB / 1.175 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/1.214, allocations: 186.2 kB / 1.176 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.051e-05/1.214, allocations: 10.31 kB / 1.176 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.215, allocations: 333.7 kB / 1.176 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000797/1.215, allocations: 385.2 kB / 1.176 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/1.216, allocations: 0.6938 MB / 1.177 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/1.217, allocations: 463.5 kB / 1.177 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.217, allocations: 0 / 1.177 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002204/1.22, allocations: 1.059 MB / 1.178 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.684e-05/1.22, allocations: 95.06 kB / 1.178 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/1.22, allocations: 10.92 kB / 1.178 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.22, allocations: 2.781 kB / 1.178 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008482/1.221, allocations: 157.4 kB / 1.179 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/1.221, allocations: 6.531 kB / 1.179 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/1.223, allocations: 157.9 kB / 1.179 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.933e-05/1.223, allocations: 34.48 kB / 1.179 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/1.223, allocations: 9.328 kB / 1.179 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001758/1.224, allocations: 0.89 MB / 1.18 GB, free: 5.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.224, allocations: 6.922 kB / 1.18 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/1.224, allocations: 6.734 kB / 1.18 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/1.225, allocations: 156.3 kB / 1.18 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.966e-06/1.225, allocations: 10.42 kB / 1.18 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/1.227, allocations: 164.2 kB / 1.18 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.783e-05/1.227, allocations: 36.33 kB / 1.18 GB, free: 5.805 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007662/1.228, allocations: 379.6 kB / 1.18 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003028/1.228, allocations: 132.8 kB / 1.181 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/1.231, allocations: 1.058 MB / 1.182 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/1.231, allocations: 16.77 kB / 1.182 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.231, allocations: 0 / 1.182 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/1.231, allocations: 7.984 kB / 1.182 GB, free: 4.824 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 postOpt removeSimpleEquations (simulation): time 0.004425/1.235, allocations: 2.481 MB / 1.184 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.235, allocations: 2.812 kB / 1.184 GB, free: 3.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007162/1.236, allocations: 140.8 kB / 1.184 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.471e-05/1.236, allocations: 5.938 kB / 1.184 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.196e-05/1.236, allocations: 15.16 kB / 1.184 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/1.236, allocations: 9.391 kB / 1.184 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.236, allocations: 2.156 kB / 1.184 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00291/1.239, allocations: 1.701 MB / 1.186 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007749/1.24, allocations: 350 kB / 1.186 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/1.24, allocations: 15.47 kB / 1.186 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/1.241, allocations: 105.1 kB / 1.186 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/1.242, allocations: 49.67 kB / 1.186 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.646e-05/1.242, allocations: 21.97 kB / 1.186 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002184/1.244, allocations: 1.198 MB / 1.188 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/1.244, allocations: 0 / 1.188 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002183/1.246, allocations: 0.5522 MB / 1.188 GB, free: 0.7773 MB / 0.7136 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 (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.0008286/1.247, allocations: 271 kB / 1.188 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002989/1.25, allocations: 1.441 MB / 1.19 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.25, allocations: 0 / 1.19 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008184/1.251, allocations: 436.2 kB / 1.19 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003058/1.254, allocations: 0.5997 MB / 1.191 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004063/1.258, allocations: 2.525 MB / 1.193 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008095/1.259, allocations: 1.196 MB / 1.194 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001848/1.261, allocations: 373.6 kB / 1.195 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004471/1.261, allocations: 123.4 kB / 1.195 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of SimCode: time 3.446e-06/1.261, allocations: 0 / 1.195 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of Templates: time 0.05476/1.316, allocations: 27.07 MB / 1.221 GB, free: 120 kB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)