Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 194.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 472.6 MB / 0.7451 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001224, allocations: 68.83 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3413, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachine): time 1.038/1.379, allocations: 321.5 MB / 1.382 GB, free: 13.01 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.05936/1.439, allocations: 39.57 MB / 1.421 GB, free: 1.363 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007261/1.446, allocations: 152.9 kB / 1.421 GB, free: 1.312 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.02696/1.473, allocations: 14.92 MB / 1.435 GB, free: 9.566 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0216/1.495, allocations: 7.193 MB / 1.443 GB, free: 3.48 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.009804/1.505, allocations: 3.604 MB / 1.446 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.05019/1.555, allocations: 30.68 MB / 1.476 GB, free: 1.25 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007391/1.562, allocations: 3.471 MB / 1.479 GB, free: 13.71 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0149/1.577, allocations: 5.761 MB / 1.485 GB, free: 7.934 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007046/1.584, allocations: 3.461 MB / 1.488 GB, free: 4.469 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002137/1.586, allocations: 492 kB / 1.489 GB, free: 3.988 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01534/1.602, allocations: 6.245 MB / 1.495 GB, free: 13.73 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004076/1.606, allocations: 2.474 MB / 1.497 GB, free: 11.25 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.008604/1.614, allocations: 3.347 MB / 1.501 GB, free: 7.887 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02289/1.637, allocations: 11.23 MB / 1.512 GB, free: 12.62 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.637, allocations: 3.938 kB / 1.512 GB, free: 12.62 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.844e-06/1.637, allocations: 0 / 1.512 GB, free: 12.62 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003319/1.638, allocations: 0 / 1.512 GB, free: 12.62 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 572 * Number of variables: 572 Notification: Performance of Generate backend data structure: time 0.01955/1.657, allocations: 7.175 MB / 1.519 GB, free: 5.316 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/1.657, allocations: 8.031 kB / 1.519 GB, free: 5.309 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0113/1.669, allocations: 1.749 MB / 1.52 GB, free: 3.551 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01628/1.685, allocations: 7.899 MB / 1.528 GB, free: 11.56 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002752/1.685, allocations: 213.4 kB / 1.528 GB, free: 11.35 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007535/1.686, allocations: 264 kB / 1.529 GB, free: 11.09 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006538/1.693, allocations: 3.579 MB / 1.532 GB, free: 7.391 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-05/1.693, allocations: 7.906 kB / 1.532 GB, free: 7.383 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002487/1.693, allocations: 96 kB / 1.532 GB, free: 7.289 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.363e-05/1.693, allocations: 84.34 kB / 1.532 GB, free: 7.203 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005637/1.699, allocations: 2.671 MB / 1.535 GB, free: 4.516 MB / 1.139 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.02374/1.722, allocations: 15.36 MB / 1.55 GB, free: 4.262 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004645/1.727, allocations: 2.136 MB / 1.552 GB, free: 2.113 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/1.729, allocations: 1.133 MB / 1.553 GB, free: 0.9805 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003731/1.73, allocations: 223.5 kB / 1.553 GB, free: 0.7266 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002874/1.733, allocations: 1.747 MB / 1.555 GB, free: 14.96 MB / 1.17 GB Notification: Performance of pre-optimization done (n=137): time 3.998e-06/1.733, allocations: 3.938 kB / 1.555 GB, free: 14.96 MB / 1.17 GB Notification: Performance of matching and sorting (n=137): time 0.008767/1.741, allocations: 3.562 MB / 1.558 GB, free: 11.36 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/1.741, allocations: 76.64 kB / 1.558 GB, free: 11.27 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009569/1.751, allocations: 6.225 MB / 1.565 GB, free: 5.051 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.000466/1.752, allocations: 69.7 kB / 1.565 GB, free: 4.977 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.00227/1.754, allocations: 2.369 MB / 1.567 GB, free: 2.594 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006659/1.754, allocations: 0.4931 MB / 1.567 GB, free: 2.094 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/1.756, allocations: 0.869 MB / 1.568 GB, free: 1.215 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.756, allocations: 309.1 kB / 1.569 GB, free: 0.9102 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003975/1.76, allocations: 2.814 MB / 1.571 GB, free: 14.08 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004928/1.765, allocations: 3.887 MB / 1.575 GB, free: 9.781 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008492/1.773, allocations: 6.354 MB / 1.581 GB, free: 3.094 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/1.773, allocations: 4 kB / 1.581 GB, free: 3.09 MB / 1.186 GB Notification: Performance of matching and sorting (n=514) (initialization): time 0.01245/1.786, allocations: 7.505 MB / 1.589 GB, free: 11.56 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-05/1.786, allocations: 43.58 kB / 1.589 GB, free: 11.52 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.555e-05/1.786, allocations: 24 kB / 1.589 GB, free: 11.49 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007866/1.787, allocations: 425.4 kB / 1.589 GB, free: 11.07 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00348/1.79, allocations: 0.7294 MB / 1.59 GB, free: 10.34 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003308/1.793, allocations: 3.259 MB / 1.593 GB, free: 6.988 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005137/1.799, allocations: 445.3 kB / 1.593 GB, free: 6.547 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005371/1.799, allocations: 208 kB / 1.594 GB, free: 6.344 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006678/1.806, allocations: 3.829 MB / 1.597 GB, free: 2.504 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004846/1.811, allocations: 3.579 MB / 1.601 GB, free: 14.51 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007685/1.818, allocations: 5.753 MB / 1.606 GB, free: 8.422 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.829e-05/1.818, allocations: 8 kB / 1.606 GB, free: 8.414 MB / 1.217 GB Notification: Performance of matching and sorting (n=514) (initialization_lambda0): time 0.01153/1.83, allocations: 6.901 MB / 1.613 GB, free: 1.492 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/1.83, allocations: 45.7 kB / 1.613 GB, free: 1.441 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.773e-05/1.83, allocations: 24 kB / 1.613 GB, free: 1.418 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/1.831, allocations: 448.8 kB / 1.614 GB, free: 0.9766 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002834/1.834, allocations: 0.7255 MB / 1.614 GB, free: 256 kB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00839/1.843, allocations: 6.186 MB / 1.62 GB, free: 9.832 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005809/1.848, allocations: 359.4 kB / 1.621 GB, free: 9.48 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007259/1.849, allocations: 188 kB / 1.621 GB, free: 9.297 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 5 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (371): * Single equations (assignments): 354 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.00125/1.85, allocations: 352.4 kB / 1.621 GB, free: 8.945 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001943/1.852, allocations: 0.5012 MB / 1.622 GB, free: 8.438 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007383/1.86, allocations: 2.727 MB / 1.624 GB, free: 5.695 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/1.86, allocations: 16 kB / 1.624 GB, free: 5.68 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/1.86, allocations: 7.922 kB / 1.624 GB, free: 5.672 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004554/1.864, allocations: 2.342 MB / 1.627 GB, free: 3.258 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/1.878, allocations: 6.502 MB / 1.633 GB, free: 12.67 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/1.878, allocations: 0 / 1.633 GB, free: 12.67 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002225/1.88, allocations: 459.6 kB / 1.634 GB, free: 12.22 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003808/1.881, allocations: 168.7 kB / 1.634 GB, free: 12.05 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001117/1.881, allocations: 43.97 kB / 1.634 GB, free: 12.01 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002178/1.883, allocations: 3.021 MB / 1.637 GB, free: 8.891 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.883, allocations: 3.938 kB / 1.637 GB, free: 8.887 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007963/1.891, allocations: 4.044 MB / 1.641 GB, free: 4.789 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002396/1.894, allocations: 0.8533 MB / 1.641 GB, free: 3.91 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007351/1.894, allocations: 35.98 kB / 1.642 GB, free: 3.875 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002319/1.897, allocations: 123.9 kB / 1.642 GB, free: 3.754 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/1.897, allocations: 97.11 kB / 1.642 GB, free: 3.656 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/1.897, allocations: 63.97 kB / 1.642 GB, free: 3.594 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.006841/1.904, allocations: 4.212 MB / 1.646 GB, free: 15.39 MB / 1.264 GB Notification: Performance of sort global known variables: time 5e-07/1.904, allocations: 4 kB / 1.646 GB, free: 15.39 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.006819/1.911, allocations: 2.504 MB / 1.648 GB, free: 12.88 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 11 (fan1.vol.dynBal.medium.Xi[1],fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.filter.s[1],fan1.filter.s[2],fan3.vol.dynBal.medium.Xi[1],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan2.vol.dynBal.medium.Xi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001799/1.913, allocations: 0.7965 MB / 1.649 GB, free: 12.09 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01423/1.927, allocations: 8.399 MB / 1.657 GB, free: 3.664 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/1.927, allocations: 4 kB / 1.657 GB, free: 3.66 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002456/1.929, allocations: 1.171 MB / 1.658 GB, free: 2.488 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01231/1.942, allocations: 2.959 MB / 1.661 GB, free: 15.6 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01873/1.96, allocations: 9.962 MB / 1.671 GB, free: 5.582 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003055/1.963, allocations: 3.177 MB / 1.674 GB, free: 2.375 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.008318/1.972, allocations: 1.441 MB / 1.676 GB, free: 0.9258 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001632/1.973, allocations: 367.3 kB / 1.676 GB, free: 0.5664 MB / 1.279 GB Notification: Performance of SimCode: time 1.363e-06/1.973, allocations: 3.938 kB / 1.676 GB, free: 0.5625 MB / 1.279 GB Notification: Performance of Templates: time 0.7469/2.72, allocations: 121 MB / 1.794 GB, free: 0.5201 GB / 1.373 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)