Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.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.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine") translateModel(Buildings.Fluid.Movers.Examples.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5476/0.5476, allocations: 94.69 MB / 107.2 MB, free: 5.191 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.00105/0.00105, allocations: 168.6 kB / 130.7 MB, free: 7.551 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.777/1.777, allocations: 170.5 MB / 324.5 MB, free: 4.008 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.001769/0.001769, allocations: 121.9 kB / 386.6 MB, free: 16.22 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.513e-05/4.514e-05, allocations: 4 kB / 456 MB, free: 11.76 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5663/0.5663, allocations: 61.51 MB / 0.5054 GB, free: 49.38 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.358/1.924, allocations: 433.2 MB / 0.9284 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/1.925, allocations: 92.84 kB / 0.9285 GB, free: 177.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.512/9.437, allocations: 1.694 GB / 2.622 GB, free: 42.99 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.126e-06/9.437, allocations: 0 / 2.622 GB, free: 42.99 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0005215/9.437, allocations: 83.7 kB / 2.622 GB, free: 42.97 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: 429 * Number of variables: 429 Notification: Performance of Generate backend data structure: time 0.01221/9.45, allocations: 3.114 MB / 2.625 GB, free: 41.66 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.88e-05/9.45, allocations: 9.594 kB / 2.625 GB, free: 41.66 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/9.452, allocations: 387.3 kB / 2.626 GB, free: 41.48 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/9.463, allocations: 3.477 MB / 2.629 GB, free: 40.91 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006321/9.464, allocations: 238.8 kB / 2.629 GB, free: 40.85 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001381/9.465, allocations: 215.7 kB / 2.629 GB, free: 40.85 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006232/9.472, allocations: 2.366 MB / 2.632 GB, free: 40.61 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.673e-05/9.472, allocations: 5.062 kB / 2.632 GB, free: 40.61 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002489/9.472, allocations: 73.69 kB / 2.632 GB, free: 40.61 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.429e-05/9.472, allocations: 45.67 kB / 2.632 GB, free: 40.6 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003923/9.476, allocations: 1.61 MB / 2.633 GB, free: 40.59 MB / 0.573 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.02023/9.496, allocations: 10.02 MB / 2.643 GB, free: 36.37 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007002/9.503, allocations: 2.033 MB / 2.645 GB, free: 36.34 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/9.505, allocations: 0.5759 MB / 2.646 GB, free: 36.33 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001759/9.506, allocations: 1.977 MB / 2.648 GB, free: 34.08 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002587/9.509, allocations: 1.159 MB / 2.649 GB, free: 33.98 MB / 0.573 GB Notification: Performance of pre-optimization done (n=96): time 8.246e-06/9.509, allocations: 0 / 2.649 GB, free: 33.98 MB / 0.573 GB Notification: Performance of matching and sorting (n=96): time 0.006192/9.515, allocations: 1.573 MB / 2.65 GB, free: 33.77 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/9.516, allocations: 226 kB / 2.65 GB, free: 33.52 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007042/9.523, allocations: 2.055 MB / 2.652 GB, free: 33.25 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001806/9.524, allocations: 64.86 kB / 2.653 GB, free: 33.22 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002853/9.527, allocations: 1.266 MB / 2.654 GB, free: 32.83 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00121/9.529, allocations: 327.6 kB / 2.654 GB, free: 32.62 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001497/9.53, allocations: 43.69 kB / 2.654 GB, free: 32.62 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.00035/9.53, allocations: 380.1 kB / 2.655 GB, free: 32.32 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004754/9.535, allocations: 1.763 MB / 2.656 GB, free: 32.31 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004908/9.54, allocations: 2.171 MB / 2.658 GB, free: 31.89 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005055/9.545, allocations: 2.312 MB / 2.661 GB, free: 31.65 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-05/9.545, allocations: 0 / 2.661 GB, free: 31.65 MB / 0.573 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01546/9.561, allocations: 5.084 MB / 2.666 GB, free: 31.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001584/9.562, allocations: 3.247 MB / 2.669 GB, free: 28.11 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.718e-05/9.563, allocations: 6.625 kB / 2.669 GB, free: 28.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003833/9.566, allocations: 1.245 MB / 2.67 GB, free: 28.08 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/9.568, allocations: 241.1 kB / 2.67 GB, free: 28.08 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/9.571, allocations: 2.555 MB / 2.673 GB, free: 26.51 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006027/9.577, allocations: 451.2 kB / 2.673 GB, free: 26.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001983/9.579, allocations: 285.3 kB / 2.673 GB, free: 26.38 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/9.579, allocations: 4.875 kB / 2.673 GB, free: 26.38 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02026/9.599, allocations: 7.041 MB / 2.68 GB, free: 25.99 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.369e-05/9.6, allocations: 8.719 kB / 2.68 GB, free: 25.99 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006783/9.606, allocations: 2.979 MB / 2.683 GB, free: 25.96 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/9.608, allocations: 227.7 kB / 2.683 GB, free: 25.96 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005018/9.613, allocations: 4.3 MB / 2.688 GB, free: 23.59 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005552/9.618, allocations: 377.8 kB / 2.688 GB, free: 23.51 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001975/9.62, allocations: 260.9 kB / 2.688 GB, free: 23.51 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 7 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.002268/9.623, allocations: 221 kB / 2.688 GB, free: 23.39 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001784/9.624, allocations: 259.6 kB / 2.689 GB, free: 23.25 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006494/9.631, allocations: 1.93 MB / 2.691 GB, free: 23.02 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.533e-05/9.631, allocations: 14.09 kB / 2.691 GB, free: 23.02 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/9.631, allocations: 1 kB / 2.691 GB, free: 23.02 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.686e-05/9.631, allocations: 11.08 kB / 2.691 GB, free: 23.02 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/9.644, allocations: 4.09 MB / 2.695 GB, free: 22.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/9.644, allocations: 2.125 kB / 2.695 GB, free: 22.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/9.645, allocations: 205.7 kB / 2.695 GB, free: 22.12 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/9.647, allocations: 0.8007 MB / 2.696 GB, free: 22.09 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/9.647, allocations: 40.09 kB / 2.696 GB, free: 22.09 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003526/9.65, allocations: 3.793 MB / 2.699 GB, free: 19.12 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.453e-06/9.65, allocations: 0 / 2.699 GB, free: 19.12 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00518/9.656, allocations: 1.797 MB / 2.701 GB, free: 18.69 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00327/9.659, allocations: 0.4938 MB / 2.702 GB, free: 18.45 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00195/9.661, allocations: 26.33 kB / 2.702 GB, free: 18.44 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004522/9.665, allocations: 118.1 kB / 2.702 GB, free: 18.43 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005132/9.666, allocations: 82.53 kB / 2.702 GB, free: 18.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003275/9.666, allocations: 63.11 kB / 2.702 GB, free: 18.43 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.007015/9.673, allocations: 1.514 MB / 2.703 GB, free: 18.27 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.713e-06/9.673, allocations: 0 / 2.703 GB, free: 18.27 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01701/9.69, allocations: 1.809 MB / 2.705 GB, free: 18.07 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (100): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007015/9.698, allocations: 1.577 MB / 2.707 GB, free: 17.59 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04089/9.738, allocations: 24.62 MB / 2.731 GB, free: 10.66 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/9.739, allocations: 0 / 2.731 GB, free: 10.66 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002167/9.741, allocations: 0.7546 MB / 2.731 GB, free: 10.38 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007595/9.748, allocations: 1.046 MB / 2.732 GB, free: 10.16 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008454/9.757, allocations: 3.073 MB / 2.735 GB, free: 8.934 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/9.758, allocations: 1.777 MB / 2.737 GB, free: 8.133 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.003751/9.762, allocations: 0.5777 MB / 2.738 GB, free: 8.035 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004014/9.763, allocations: 143.6 kB / 2.738 GB, free: 8.02 MB / 0.573 GB Notification: Performance of SimCode: time 1.793e-06/9.763, allocations: 0 / 2.738 GB, free: 8.02 MB / 0.573 GB Notification: Performance of Templates: time 0.7606/10.52, allocations: 85.27 MB / 2.821 GB, free: 50.64 MB / 0.5886 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.makefile (rm -f Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.sim & ./Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Movers.Examples.ControlledFlowMachine.pipe 2>&1)