Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.508/1.508, allocations: 252 MB / 267.6 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009534/0.0009533, allocations: 174.2 kB / 327.3 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.4 MB / 0.5783 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007857/0.000786, allocations: 96.06 kB / 0.6829 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003323/0.0003323, allocations: 8.969 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.247, allocations: 106.3 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.7384/0.9855, allocations: 181.1 MB / 1.078 GB, free: 4.125 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01605/1.002, allocations: 8.384 MB / 1.086 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002555/1.004, allocations: 39.69 kB / 1.086 GB, free: 3.914 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001956/1.006, allocations: 462.8 kB / 1.086 GB, free: 3.91 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004929/1.011, allocations: 1.352 MB / 1.088 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01176/1.023, allocations: 2.402 MB / 1.09 GB, free: 3.742 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006305/1.029, allocations: 3.089 MB / 1.093 GB, free: 3.734 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002344/1.032, allocations: 1.145 MB / 1.094 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00299/1.035, allocations: 1.047 MB / 1.095 GB, free: 3.57 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0025/1.037, allocations: 1.03 MB / 1.096 GB, free: 3.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004203/1.038, allocations: 78.09 kB / 1.096 GB, free: 3.57 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003347/1.041, allocations: 0.9782 MB / 1.097 GB, free: 3.555 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006406/1.042, allocations: 447.1 kB / 1.098 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000746/1.042, allocations: 280.6 kB / 1.098 GB, free: 3.52 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003218/1.046, allocations: 1.991 MB / 1.1 GB, free: 3.391 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.046, allocations: 0 / 1.1 GB, free: 3.391 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.965e-06/1.046, allocations: 0 / 1.1 GB, free: 3.391 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.809e-05/1.046, allocations: 0 / 1.1 GB, free: 3.391 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.005848/1.052, allocations: 1.899 MB / 1.102 GB, free: 18.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/1.052, allocations: 6.969 kB / 1.102 GB, free: 18.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/1.053, allocations: 234.3 kB / 1.102 GB, free: 18.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00256/1.055, allocations: 1.276 MB / 1.103 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/1.056, allocations: 72.38 kB / 1.103 GB, free: 18.01 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/1.056, allocations: 85.72 kB / 1.103 GB, free: 18.01 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/1.057, allocations: 0.922 MB / 1.104 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/1.058, allocations: 0 / 1.104 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.119e-05/1.058, allocations: 27.59 kB / 1.104 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/1.058, allocations: 19.53 kB / 1.104 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/1.059, allocations: 0.8476 MB / 1.105 GB, free: 17.89 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.007102/1.066, allocations: 3.512 MB / 1.109 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/1.068, allocations: 0.77 MB / 1.109 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007689/1.069, allocations: 458.5 kB / 1.11 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005036/1.069, allocations: 292.8 kB / 1.11 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/1.069, allocations: 49.56 kB / 1.11 GB, free: 16.41 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001662/1.071, allocations: 233.5 kB / 1.11 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 4.949e-06/1.071, allocations: 0 / 1.11 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.003099/1.074, allocations: 1.342 MB / 1.112 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/1.074, allocations: 217.9 kB / 1.112 GB, free: 16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002862/1.077, allocations: 1.665 MB / 1.113 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002199/1.077, allocations: 48.73 kB / 1.113 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000449/1.078, allocations: 0.56 MB / 1.114 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/1.078, allocations: 186.5 kB / 1.114 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/1.078, allocations: 8.625 kB / 1.114 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.078, allocations: 334 kB / 1.115 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007567/1.079, allocations: 384 kB / 1.115 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009664/1.08, allocations: 0.7011 MB / 1.116 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008115/1.081, allocations: 465 kB / 1.116 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.081, allocations: 0 / 1.116 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002231/1.083, allocations: 1.054 MB / 1.117 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.56e-05/1.083, allocations: 95.22 kB / 1.117 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.159e-05/1.083, allocations: 6.156 kB / 1.117 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/1.083, allocations: 2.906 kB / 1.117 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/1.084, allocations: 163.4 kB / 1.117 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/1.084, allocations: 1.906 kB / 1.117 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/1.086, allocations: 154.4 kB / 1.117 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/1.086, allocations: 35.66 kB / 1.117 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/1.086, allocations: 3.312 kB / 1.118 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001734/1.088, allocations: 0.8943 MB / 1.118 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/1.088, allocations: 3.969 kB / 1.118 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.158e-06/1.088, allocations: 2.625 kB / 1.118 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007745/1.089, allocations: 163.9 kB / 1.119 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.089, allocations: 7.422 kB / 1.119 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/1.091, allocations: 163.7 kB / 1.119 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.204e-05/1.091, allocations: 29.33 kB / 1.119 GB, free: 14.61 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.0008641/1.092, allocations: 385.4 kB / 1.119 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/1.092, allocations: 135.9 kB / 1.119 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/1.094, allocations: 1.054 MB / 1.12 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/1.094, allocations: 5.125 kB / 1.12 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/1.094, allocations: 2.844 kB / 1.12 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.649e-06/1.094, allocations: 2.438 kB / 1.12 GB, free: 14.25 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.004999/1.1, allocations: 2.488 MB / 1.123 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/1.1, allocations: 6.578 kB / 1.123 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007803/1.1, allocations: 135.1 kB / 1.123 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.344e-05/1.1, allocations: 8.406 kB / 1.123 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/1.1, allocations: 19.98 kB / 1.123 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/1.1, allocations: 8.344 kB / 1.123 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.1, allocations: 2.375 kB / 1.123 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003795/1.104, allocations: 1.565 MB / 1.124 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009758/1.105, allocations: 351.9 kB / 1.125 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/1.105, allocations: 17.84 kB / 1.125 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001405/1.107, allocations: 106.6 kB / 1.125 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/1.107, allocations: 44.34 kB / 1.125 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/1.107, allocations: 21.75 kB / 1.125 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002172/1.109, allocations: 1.196 MB / 1.126 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.61e-07/1.109, allocations: 0 / 1.126 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001985/1.111, allocations: 0.5441 MB / 1.127 GB, free: 12.48 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.0007328/1.112, allocations: 275.7 kB / 1.127 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002813/1.115, allocations: 1.44 MB / 1.128 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.115, allocations: 0 / 1.128 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007924/1.116, allocations: 440.3 kB / 1.129 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/1.119, allocations: 0.6011 MB / 1.129 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00403/1.123, allocations: 2.595 MB / 1.132 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008371/1.124, allocations: 1.161 MB / 1.133 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007314/1.125, allocations: 136.1 kB / 1.133 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of SimCode: time 1.533e-06/1.125, allocations: 0 / 1.133 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of Templates: time 0.03898/1.164, allocations: 22.4 MB / 1.155 GB, free: 11.64 MB / 0.7292 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)