Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001141/0.001141, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001427/0.001427, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.578/1.578, allocations: 252 MB / 0.5102 GB, free: 4.773 MB / 414.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.0006087/0.0006088, allocations: 16 kB / 0.6243 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5642/0.5648, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Movers.Validation.ControlledFlowMachine): time 0.8435/1.408, allocations: 342.3 MB / 1.062 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0743/1.483, allocations: 47.59 MB / 1.109 GB, free: 292 kB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009154/1.492, allocations: 150.9 kB / 1.109 GB, free: 140 kB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.009181/1.501, allocations: 1.992 MB / 1.111 GB, free: 14.13 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.02447/1.526, allocations: 6.601 MB / 1.117 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.01472/1.54, allocations: 4.232 MB / 1.122 GB, free: 3.301 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02618/1.567, allocations: 15.24 MB / 1.136 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008167/1.575, allocations: 3.407 MB / 1.14 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01902/1.594, allocations: 5.879 MB / 1.146 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009747/1.604, allocations: 4.129 MB / 1.15 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.002642/1.606, allocations: 244 kB / 1.15 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01867/1.625, allocations: 3.676 MB / 1.153 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.006025/1.631, allocations: 2.329 MB / 1.156 GB, free: 256 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004684/1.636, allocations: 1.358 MB / 1.157 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01738/1.653, allocations: 8.74 MB / 1.166 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/1.653, allocations: 0 / 1.166 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.737e-06/1.653, allocations: 0 / 1.166 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0003826/1.654, allocations: 0 / 1.166 GB, free: 6.125 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.01883/1.673, allocations: 6.935 MB / 1.172 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/1.673, allocations: 8.031 kB / 1.172 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/1.683, allocations: 1.448 MB / 1.174 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01511/1.698, allocations: 5.894 MB / 1.179 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003631/1.699, allocations: 257.9 kB / 1.18 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/1.7, allocations: 344 kB / 1.18 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/1.711, allocations: 4.168 MB / 1.184 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/1.711, allocations: 3.906 kB / 1.184 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007822/1.712, allocations: 124 kB / 1.184 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/1.712, allocations: 105.7 kB / 1.184 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007822/1.72, allocations: 3.02 MB / 1.187 GB, free: 15.51 MB / 0.8731 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.03457/1.755, allocations: 18.01 MB / 1.205 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005634/1.76, allocations: 2.308 MB / 1.207 GB, free: 9.977 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00255/1.763, allocations: 1.257 MB / 1.208 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004763/1.763, allocations: 224.1 kB / 1.209 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003421/1.767, allocations: 1.814 MB / 1.21 GB, free: 6.641 MB / 0.8887 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003562/1.77, allocations: 373.5 kB / 1.211 GB, free: 6.273 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=176): time 1.489e-05/1.771, allocations: 0 / 1.211 GB, free: 6.273 MB / 0.8887 GB Notification: Performance of matching and sorting (n=176): time 0.01302/1.784, allocations: 3.964 MB / 1.215 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/1.784, allocations: 154.5 kB / 1.215 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01634/1.8, allocations: 5.7 MB / 1.22 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/1.801, allocations: 81.7 kB / 1.22 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.004418/1.806, allocations: 2.63 MB / 1.223 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.00145/1.807, allocations: 0.6084 MB / 1.224 GB, free: 9.031 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006306/1.808, allocations: 52 kB / 1.224 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0003611/1.808, allocations: 428 kB / 1.224 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003146/1.811, allocations: 1.364 MB / 1.225 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004594/1.816, allocations: 2.592 MB / 1.228 GB, free: 4.043 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003903/1.82, allocations: 1.702 MB / 1.23 GB, free: 2.332 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.257e-05/1.82, allocations: 8 kB / 1.23 GB, free: 2.324 MB / 0.9044 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01055/1.831, allocations: 4.462 MB / 1.234 GB, free: 13.84 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.001198/1.832, allocations: 1.029 MB / 1.235 GB, free: 12.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/1.832, allocations: 35.98 kB / 1.235 GB, free: 12.34 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/1.833, allocations: 317.3 kB / 1.235 GB, free: 12.03 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003637/1.837, allocations: 0.6279 MB / 1.236 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/1.841, allocations: 3.768 MB / 1.24 GB, free: 7.508 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00756/1.849, allocations: 323.7 kB / 1.24 GB, free: 7.191 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/1.85, allocations: 223.9 kB / 1.24 GB, free: 6.973 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.906e-05/1.85, allocations: 4 kB / 1.24 GB, free: 6.969 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01179/1.862, allocations: 4.845 MB / 1.245 GB, free: 2.109 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/1.862, allocations: 31.98 kB / 1.245 GB, free: 2.078 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/1.864, allocations: 0.6816 MB / 1.245 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002951/1.867, allocations: 0.6201 MB / 1.246 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/1.881, allocations: 8.76 MB / 1.255 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006065/1.887, allocations: 317.6 kB / 1.255 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009108/1.888, allocations: 196 kB / 1.255 GB, free: 7.16 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 310 * Array equations: 5 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.005365/1.894, allocations: 1.546 MB / 1.257 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00233/1.896, allocations: 0.5128 MB / 1.257 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008392/1.904, allocations: 3.053 MB / 1.26 GB, free: 2.012 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/1.904, allocations: 20 kB / 1.26 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.904, allocations: 0 / 1.26 GB, free: 1.992 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.6238/2.528, allocations: 2.67 MB / 1.263 GB, free: 377 MB / 0.9356 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.02344/2.552, allocations: 7.341 MB / 1.27 GB, free: 374.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/2.552, allocations: 1.719 kB / 1.27 GB, free: 374.9 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002723/2.554, allocations: 490.8 kB / 1.27 GB, free: 374.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009206/2.555, allocations: 286.9 kB / 1.271 GB, free: 374.8 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/2.556, allocations: 57.75 kB / 1.271 GB, free: 374.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003199/2.559, allocations: 3.527 MB / 1.274 GB, free: 371.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/2.559, allocations: 2.031 kB / 1.274 GB, free: 371.7 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00909/2.568, allocations: 4.459 MB / 1.278 GB, free: 370 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003954/2.572, allocations: 0.8248 MB / 1.279 GB, free: 369.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/2.573, allocations: 43.31 kB / 1.279 GB, free: 369.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002824/2.576, allocations: 313.4 kB / 1.28 GB, free: 369.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003326/2.576, allocations: 125.7 kB / 1.28 GB, free: 369.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001553/2.576, allocations: 74.98 kB / 1.28 GB, free: 369.4 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.007727/2.584, allocations: 3.901 MB / 1.284 GB, free: 368 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.41e-07/2.584, allocations: 0 / 1.284 GB, free: 368 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.01076/2.595, allocations: 2.594 MB / 1.286 GB, free: 367.7 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1]) * 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 (172): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 7,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001903/2.597, allocations: 0.64 MB / 1.287 GB, free: 367.6 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.01179/2.609, allocations: 6.025 MB / 1.293 GB, free: 365.2 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.347e-05/2.609, allocations: 4.5 kB / 1.293 GB, free: 365.2 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002397/2.611, allocations: 1.273 MB / 1.294 GB, free: 364.8 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01494/2.626, allocations: 3.206 MB / 1.297 GB, free: 364.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01813/2.644, allocations: 11.82 MB / 1.309 GB, free: 354.2 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002656/2.647, allocations: 3.327 MB / 1.312 GB, free: 350.8 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0072/2.654, allocations: 1.391 MB / 1.313 GB, free: 349.4 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009527/2.655, allocations: 367.4 kB / 1.314 GB, free: 349.1 MB / 0.9356 GB Notification: Performance of SimCode: time 2.895e-06/2.655, allocations: 0 / 1.314 GB, free: 349.1 MB / 0.9356 GB Notification: Performance of Templates: time 0.1885/2.844, allocations: 119.4 MB / 1.43 GB, free: 231.1 MB / 0.9356 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1) Environment - environmentSimulation: