Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(Buildings.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.577/1.577, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001374/0.001374, allocations: 176.9 kB / 366.7 MB, free: 1.648 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.653/1.653, allocations: 205.2 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009833/0.0009833, allocations: 98.75 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.063e-05/2.064e-05, allocations: 4 kB / 0.8597 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6854/0.6855, allocations: 116.3 MB / 0.9732 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.973/5.659, allocations: 2.118 GB / 3.091 GB, free: 276.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/5.659, allocations: 94 kB / 3.091 GB, free: 276.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 16.65/22.3, allocations: 4.283 GB / 7.374 GB, free: 95.47 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.904e-06/22.3, allocations: 0 / 7.374 GB, free: 95.47 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.001202/22.31, allocations: 143.5 kB / 7.374 GB, free: 95.45 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 744 * Number of variables: 744 Notification: Performance of Generate backend data structure: time 0.02406/22.33, allocations: 5.73 MB / 7.38 GB, free: 93.21 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/22.33, allocations: 9.125 kB / 7.38 GB, free: 93.21 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/22.34, allocations: 1.437 MB / 7.381 GB, free: 92.85 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02861/22.37, allocations: 10.81 MB / 7.392 GB, free: 91.71 MB / 1.104 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/22.37, allocations: 95.7 kB / 7.392 GB, free: 91.71 MB / 1.104 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001206/22.37, allocations: 211.1 kB / 7.392 GB, free: 91.7 MB / 1.104 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006273/22.38, allocations: 3.221 MB / 7.395 GB, free: 91.68 MB / 1.104 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005976/22.39, allocations: 3.456 MB / 7.399 GB, free: 91.31 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.776e-05/22.39, allocations: 2.531 kB / 7.399 GB, free: 91.31 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/22.39, allocations: 5.969 kB / 7.399 GB, free: 91.31 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.176e-05/22.39, allocations: 109.2 kB / 7.399 GB, free: 91.3 MB / 1.104 GB Warning: The model contains alias variables with conflicting start and/or 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.02855/22.41, allocations: 18.75 MB / 7.417 GB, free: 83.5 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005077/22.42, allocations: 3.357 MB / 7.42 GB, free: 83.07 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/22.42, allocations: 1.546 MB / 7.422 GB, free: 83.05 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004997/22.42, allocations: 224.2 kB / 7.422 GB, free: 82.86 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003116/22.43, allocations: 1.559 MB / 7.424 GB, free: 82.79 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005196/22.43, allocations: 330.4 kB / 7.424 GB, free: 82.69 MB / 1.104 GB Notification: Performance of pre-optimization done (n=179): time 2.084e-05/22.43, allocations: 0.875 kB / 7.424 GB, free: 82.69 MB / 1.104 GB Notification: Performance of matching and sorting (n=179): time 0.01008/22.44, allocations: 3.519 MB / 7.427 GB, free: 82.31 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/22.44, allocations: 147.4 kB / 7.427 GB, free: 82.15 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01351/22.46, allocations: 5.708 MB / 7.433 GB, free: 81.76 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.0009327/22.46, allocations: 29.33 kB / 7.433 GB, free: 81.73 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.003608/22.46, allocations: 2.645 MB / 7.436 GB, free: 81.1 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.001115/22.46, allocations: 0.601 MB / 7.436 GB, free: 80.7 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/22.46, allocations: 0 / 7.436 GB, free: 80.7 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0001912/22.46, allocations: 425.7 kB / 7.437 GB, free: 80.39 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001913/22.46, allocations: 1.447 MB / 7.438 GB, free: 80.38 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/22.47, allocations: 2.68 MB / 7.441 GB, free: 78.88 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002952/22.47, allocations: 1.877 MB / 7.443 GB, free: 78.84 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.005e-05/22.47, allocations: 9.25 kB / 7.443 GB, free: 78.84 MB / 1.104 GB Notification: Performance of matching and sorting (n=378) (initialization): time 0.007939/22.48, allocations: 4.633 MB / 7.447 GB, free: 78.46 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.002773/22.48, allocations: 14.93 MB / 7.462 GB, free: 63.21 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.096e-05/22.48, allocations: 31.94 kB / 7.462 GB, free: 63.21 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/22.48, allocations: 436.6 kB / 7.462 GB, free: 63.2 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003298/22.48, allocations: 0.6426 MB / 7.463 GB, free: 63.2 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003694/22.49, allocations: 4.485 MB / 7.467 GB, free: 60.39 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006104/22.49, allocations: 275 kB / 7.467 GB, free: 60.37 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008848/22.49, allocations: 258.8 kB / 7.468 GB, free: 60.37 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/22.49, allocations: 6 kB / 7.468 GB, free: 60.37 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008217/22.5, allocations: 3.607 MB / 7.471 GB, free: 60.3 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00017/22.5, allocations: 35.56 kB / 7.471 GB, free: 60.3 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001429/22.5, allocations: 0.528 MB / 7.472 GB, free: 60.28 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003088/22.51, allocations: 0.6408 MB / 7.472 GB, free: 60.28 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/22.52, allocations: 7.003 MB / 7.479 GB, free: 57.17 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005936/22.52, allocations: 271.9 kB / 7.479 GB, free: 57.14 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009375/22.53, allocations: 223.8 kB / 7.48 GB, free: 57.14 MB / 1.104 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 311 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.001492/22.53, allocations: 207.6 kB / 7.48 GB, free: 57.02 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001902/22.53, allocations: 0.5093 MB / 7.48 GB, free: 56.73 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007351/22.54, allocations: 2.813 MB / 7.483 GB, free: 56.55 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/22.54, allocations: 17.88 kB / 7.483 GB, free: 56.55 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/22.54, allocations: 7.188 kB / 7.483 GB, free: 56.55 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003663/22.54, allocations: 2.428 MB / 7.485 GB, free: 56.03 MB / 1.104 GB Warning: The model contains alias variables with conflicting start and/or 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.01906/22.56, allocations: 7.895 MB / 7.493 GB, free: 55.19 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/22.56, allocations: 2.938 kB / 7.493 GB, free: 55.19 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002384/22.56, allocations: 491 kB / 7.494 GB, free: 55.18 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003774/22.56, allocations: 169.3 kB / 7.494 GB, free: 55.17 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/22.56, allocations: 25.78 kB / 7.494 GB, free: 55.17 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/22.56, allocations: 3.35 MB / 7.497 GB, free: 52.37 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.144e-06/22.56, allocations: 3.375 kB / 7.497 GB, free: 52.37 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007112/22.57, allocations: 4.36 MB / 7.501 GB, free: 51.39 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003525/22.57, allocations: 1.135 MB / 7.502 GB, free: 51 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001903/22.58, allocations: 12.16 kB / 7.502 GB, free: 51 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004372/22.58, allocations: 273.7 kB / 7.503 GB, free: 50.99 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003152/22.58, allocations: 122.2 kB / 7.503 GB, free: 50.99 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002622/22.58, allocations: 93.41 kB / 7.503 GB, free: 50.99 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.01277/22.59, allocations: 4.26 MB / 7.507 GB, free: 50.77 MB / 1.104 GB Notification: Performance of sort global known variables: time 9.02e-07/22.59, allocations: 0 / 7.507 GB, free: 50.77 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.01586/22.61, allocations: 3.143 MB / 7.51 GB, free: 50.42 MB / 1.104 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 168 * 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 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0171/22.63, allocations: 11.35 MB / 7.521 GB, free: 44.56 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.01251/22.64, allocations: 5.801 MB / 7.527 GB, free: 44.04 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-05/22.64, allocations: 9.031 kB / 7.527 GB, free: 44.04 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.002531/22.64, allocations: 1.105 MB / 7.528 GB, free: 44.02 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0183/22.66, allocations: 2.951 MB / 7.531 GB, free: 43.97 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/22.68, allocations: 8.129 MB / 7.539 GB, free: 42.05 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006521/22.69, allocations: 3.436 MB / 7.542 GB, free: 41.21 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.01484/22.7, allocations: 2.741 MB / 7.545 GB, free: 41.16 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/22.71, allocations: 277.4 kB / 7.545 GB, free: 41.15 MB / 1.104 GB Notification: Performance of SimCode: time 1.303e-06/22.71, allocations: 0 / 7.545 GB, free: 41.15 MB / 1.104 GB Notification: Performance of Templates: time 0.2357/22.94, allocations: 151.5 MB / 7.693 GB, free: 2.77 MB / 1.12 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)