Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic") translateModel(Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5531/0.5531, allocations: 95.62 MB / 110.6 MB, free: 9.352 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001316/0.001316, allocations: 169.2 kB / 134.2 MB, free: 2.266 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.473/1.473, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001603/0.001603, allocations: 99.45 kB / 390.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004437/0.0004438, allocations: 16 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1425, allocations: 61.53 MB / 0.512 GB, free: 6.094 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.414/1.557, allocations: 433.4 MB / 0.9352 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/1.557, allocations: 99.95 kB / 0.9353 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.135/7.692, allocations: 1.512 GB / 2.448 GB, free: 39.58 MB / 0.573 GB Notification: Performance of FrontEnd: time 5.07e-06/7.692, allocations: 0 / 2.448 GB, free: 39.58 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0007894/7.693, allocations: 109 kB / 2.448 GB, free: 39.56 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 541 * Number of variables: 541 Notification: Performance of Generate backend data structure: time 0.01798/7.711, allocations: 4.23 MB / 2.452 GB, free: 37.7 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/7.711, allocations: 12.58 kB / 2.452 GB, free: 37.7 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00424/7.715, allocations: 464.9 kB / 2.452 GB, free: 37.49 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01562/7.731, allocations: 4.135 MB / 2.456 GB, free: 36.87 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008968/7.732, allocations: 273.9 kB / 2.457 GB, free: 36.8 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002436/7.734, allocations: 268.6 kB / 2.457 GB, free: 36.8 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01142/7.746, allocations: 3.109 MB / 2.46 GB, free: 36.36 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/7.746, allocations: 0 / 2.46 GB, free: 36.36 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001146/7.747, allocations: 93.34 kB / 2.46 GB, free: 36.36 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.273e-05/7.747, allocations: 51.41 kB / 2.46 GB, free: 36.36 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007038/7.754, allocations: 2.167 MB / 2.462 GB, free: 36.33 MB / 0.573 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.03158/7.786, allocations: 11.82 MB / 2.474 GB, free: 32.07 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01095/7.797, allocations: 2.768 MB / 2.476 GB, free: 32.03 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001566/7.799, allocations: 1.358 MB / 2.478 GB, free: 30.53 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004771/7.804, allocations: 1.557 MB / 2.479 GB, free: 30.43 MB / 0.573 GB Notification: Performance of pre-optimization done (n=164): time 8.086e-06/7.804, allocations: 3 kB / 2.479 GB, free: 30.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=184): time 0.03132/7.835, allocations: 8.17 MB / 2.487 GB, free: 28.78 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002032/7.835, allocations: 0.5332 MB / 2.488 GB, free: 28.15 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006477/7.842, allocations: 2.385 MB / 2.49 GB, free: 27.89 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001404/7.843, allocations: 91.8 kB / 2.49 GB, free: 27.86 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002435/7.846, allocations: 1.444 MB / 2.492 GB, free: 27.43 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001108/7.847, allocations: 0.6287 MB / 2.492 GB, free: 27.02 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/7.848, allocations: 64.23 kB / 2.492 GB, free: 27.02 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003102/7.848, allocations: 420.6 kB / 2.493 GB, free: 26.71 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004813/7.853, allocations: 2.201 MB / 2.495 GB, free: 26.7 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004656/7.858, allocations: 2.788 MB / 2.497 GB, free: 26.11 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00491/7.863, allocations: 2.839 MB / 2.5 GB, free: 25.84 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-05/7.863, allocations: 3.906 kB / 2.5 GB, free: 25.84 MB / 0.573 GB Notification: Performance of matching and sorting (n=371) (initialization): time 0.016/7.879, allocations: 6.608 MB / 2.507 GB, free: 24.91 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001328/7.88, allocations: 4.074 MB / 2.511 GB, free: 21.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-05/7.88, allocations: 14.39 kB / 2.511 GB, free: 21.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/7.882, allocations: 1.213 MB / 2.512 GB, free: 20.97 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003466/7.886, allocations: 0.6118 MB / 2.512 GB, free: 20.97 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007909/7.894, allocations: 10.14 MB / 2.522 GB, free: 28 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005997/7.9, allocations: 382.7 kB / 2.523 GB, free: 27.98 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002014/7.902, allocations: 316.8 kB / 2.523 GB, free: 27.98 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/7.902, allocations: 6.438 kB / 2.523 GB, free: 27.98 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02495/7.927, allocations: 8.755 MB / 2.532 GB, free: 27.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001404/7.927, allocations: 16.12 kB / 2.532 GB, free: 27.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006095/7.933, allocations: 2.997 MB / 2.535 GB, free: 27.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/7.936, allocations: 490.7 kB / 2.535 GB, free: 27.19 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02982/7.966, allocations: 19.57 MB / 2.554 GB, free: 18.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005431/7.971, allocations: 365.5 kB / 2.554 GB, free: 18.35 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001838/7.973, allocations: 287.2 kB / 2.555 GB, free: 18.35 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count,fan1.curve,fan1.haveMinimumDecrease,fan1.haveDPMax,fan1.haveVMax,fan4.curve,fan4.haveMinimumDecrease,fan4.haveDPMax,fan4.haveVMax) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 228 * Array equations: 4 * Algorithm blocks: 7 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.003807/7.977, allocations: 0.7617 MB / 2.555 GB, free: 18.16 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001457/7.978, allocations: 325.7 kB / 2.556 GB, free: 17.98 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008785/7.987, allocations: 3.465 MB / 2.559 GB, free: 17.27 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.973e-05/7.987, allocations: 23.03 kB / 2.559 GB, free: 17.27 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/7.987, allocations: 0 / 2.559 GB, free: 17.27 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.215e-05/7.987, allocations: 9.844 kB / 2.559 GB, free: 17.27 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0076/7.995, allocations: 2.542 MB / 2.562 GB, free: 16.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.099e-05/7.995, allocations: 3.469 kB / 2.562 GB, free: 16.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003051/7.998, allocations: 0.4887 MB / 2.562 GB, free: 16.18 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002244/8, allocations: 0.9986 MB / 2.563 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004392/8.001, allocations: 68 kB / 2.563 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00781/8.009, allocations: 9.952 MB / 2.573 GB, free: 22.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/8.009, allocations: 3.062 kB / 2.573 GB, free: 22.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/8.019, allocations: 4.411 MB / 2.577 GB, free: 20.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002808/8.022, allocations: 0.6545 MB / 2.578 GB, free: 19.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/8.023, allocations: 43.66 kB / 2.578 GB, free: 19.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00313/8.026, allocations: 170.8 kB / 2.578 GB, free: 19.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004365/8.027, allocations: 147.9 kB / 2.578 GB, free: 19.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003499/8.027, allocations: 90.36 kB / 2.578 GB, free: 19.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.004481/8.032, allocations: 1.775 MB / 2.58 GB, free: 19.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.22e-07/8.032, allocations: 0 / 2.58 GB, free: 19.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.014/8.046, allocations: 2.293 MB / 2.582 GB, free: 18.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 16 (fan1.vol.dynBal.medium.p,fan1.vol.dynBal.medium.T,fan1.filter.x[1],fan1.filter.x[2],fan3.vol.dynBal.medium.p,fan3.vol.dynBal.medium.T,fan3.filter.x[1],fan3.filter.x[2],fan2.vol.dynBal.medium.p,fan2.vol.dynBal.medium.T,fan2.filter.x[1],fan2.filter.x[2],fan4.vol.dynBal.medium.p,fan4.vol.dynBal.medium.T,fan4.filter.x[1],fan4.filter.x[2]) * 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 (192): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006791/8.053, allocations: 1.916 MB / 2.584 GB, free: 17.89 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.4558/8.509, allocations: 28.22 MB / 2.612 GB, free: 69.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.491e-05/8.509, allocations: 2.016 kB / 2.612 GB, free: 69.04 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.004503/8.513, allocations: 1.691 MB / 2.613 GB, free: 68.59 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009231/8.522, allocations: 1.455 MB / 2.615 GB, free: 68.57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/8.536, allocations: 7.35 MB / 2.622 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001509/8.537, allocations: 2.106 MB / 2.624 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.004528/8.542, allocations: 0.7135 MB / 2.625 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009287/8.543, allocations: 262.3 kB / 2.625 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of SimCode: time 9.52e-07/8.543, allocations: 0 / 2.625 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.1826/8.725, allocations: 103.5 MB / 2.726 GB, free: 56.78 MB / 0.6042 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachineDynamic.pipe 2>&1)