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.5899/0.5899, allocations: 95.62 MB / 110.6 MB, free: 9.395 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.001201/0.001201, allocations: 168.2 kB / 134.2 MB, free: 2.262 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.61/1.61, 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.001778/0.001778, allocations: 119.3 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003726, allocations: 12 kB / 462.7 MB, free: 35.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1444, allocations: 61.54 MB / 0.512 GB, free: 6.098 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.434/1.578, allocations: 433.3 MB / 0.9351 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004801/1.579, allocations: 99.09 kB / 0.9352 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.821/8.4, allocations: 1.7 GB / 2.635 GB, free: 41.72 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.946e-06/8.4, allocations: 0.9062 kB / 2.635 GB, free: 41.72 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0007589/8.401, allocations: 82.94 kB / 2.635 GB, free: 41.71 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.01546/8.416, allocations: 3.605 MB / 2.638 GB, free: 40.16 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/8.416, allocations: 15.33 kB / 2.638 GB, free: 40.16 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003159/8.419, allocations: 381.1 kB / 2.639 GB, free: 39.98 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01311/8.432, allocations: 3.507 MB / 2.642 GB, free: 39.42 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009042/8.433, allocations: 240.1 kB / 2.643 GB, free: 39.35 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00194/8.435, allocations: 205.7 kB / 2.643 GB, free: 39.35 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008867/8.444, allocations: 2.42 MB / 2.645 GB, free: 39.11 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001573/8.444, allocations: 6.188 kB / 2.645 GB, free: 39.11 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008363/8.445, allocations: 69.81 kB / 2.645 GB, free: 39.11 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-05/8.445, allocations: 44.69 kB / 2.645 GB, free: 39.11 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005147/8.451, allocations: 1.692 MB / 2.647 GB, free: 39.09 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.02325/8.474, allocations: 10.03 MB / 2.657 GB, free: 34.87 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008285/8.482, allocations: 2.103 MB / 2.659 GB, free: 34.82 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001538/8.484, allocations: 1.979 MB / 2.661 GB, free: 32.57 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002955/8.487, allocations: 1.186 MB / 2.662 GB, free: 32.48 MB / 0.573 GB Notification: Performance of pre-optimization done (n=96): time 6.813e-06/8.487, allocations: 0.9688 kB / 2.662 GB, free: 32.48 MB / 0.573 GB Notification: Performance of matching and sorting (n=96): time 0.01029/8.497, allocations: 2.855 MB / 2.665 GB, free: 31.98 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/8.497, allocations: 222 kB / 2.665 GB, free: 31.73 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005648/8.503, allocations: 2.084 MB / 2.667 GB, free: 31.48 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001263/8.504, allocations: 65.7 kB / 2.667 GB, free: 31.45 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002317/8.507, allocations: 1.255 MB / 2.668 GB, free: 31.05 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008153/8.507, allocations: 332 kB / 2.668 GB, free: 30.85 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/8.509, allocations: 39.97 kB / 2.668 GB, free: 30.85 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002657/8.509, allocations: 387 kB / 2.669 GB, free: 30.54 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004176/8.513, allocations: 1.803 MB / 2.671 GB, free: 30.53 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004002/8.517, allocations: 2.211 MB / 2.673 GB, free: 30.12 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004112/8.521, allocations: 2.346 MB / 2.675 GB, free: 29.88 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-05/8.521, allocations: 1.688 kB / 2.675 GB, free: 29.88 MB / 0.573 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.01136/8.533, allocations: 5.174 MB / 2.68 GB, free: 29.43 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00132/8.534, allocations: 3.251 MB / 2.683 GB, free: 26.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.29e-05/8.534, allocations: 6.844 kB / 2.683 GB, free: 26.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003399/8.537, allocations: 1.294 MB / 2.685 GB, free: 26.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/8.539, allocations: 233.8 kB / 2.685 GB, free: 26.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002996/8.542, allocations: 2.566 MB / 2.687 GB, free: 24.74 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00554/8.547, allocations: 447.2 kB / 2.688 GB, free: 24.62 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001448/8.549, allocations: 286.6 kB / 2.688 GB, free: 24.62 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/8.549, allocations: 4.188 kB / 2.688 GB, free: 24.62 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01634/8.565, allocations: 7.152 MB / 2.695 GB, free: 24.23 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.682e-05/8.565, allocations: 4.906 kB / 2.695 GB, free: 24.23 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00638/8.572, allocations: 3.018 MB / 2.698 GB, free: 24.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/8.573, allocations: 225.4 kB / 2.698 GB, free: 24.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004295/8.577, allocations: 4.31 MB / 2.702 GB, free: 21.82 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00443/8.582, allocations: 381.4 kB / 2.703 GB, free: 21.74 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001493/8.583, allocations: 263 kB / 2.703 GB, free: 21.74 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 () * Number of clocked 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.002935/8.586, allocations: 0.5892 MB / 2.704 GB, free: 21.55 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/8.587, allocations: 254.2 kB / 2.704 GB, free: 21.41 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005006/8.592, allocations: 1.999 MB / 2.706 GB, free: 21.18 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/8.592, allocations: 13.69 kB / 2.706 GB, free: 21.18 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/8.592, allocations: 3.531 kB / 2.706 GB, free: 21.18 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.937e-05/8.592, allocations: 7.5 kB / 2.706 GB, free: 21.18 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009242/8.602, allocations: 4.058 MB / 2.71 GB, free: 20.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/8.602, allocations: 0 / 2.71 GB, free: 20.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008955/8.603, allocations: 200.5 kB / 2.71 GB, free: 20.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/8.604, allocations: 0.8128 MB / 2.711 GB, free: 20.32 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/8.604, allocations: 39.94 kB / 2.711 GB, free: 20.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003976/8.608, allocations: 3.805 MB / 2.714 GB, free: 33.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/8.608, allocations: 0 / 2.714 GB, free: 33.35 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003537/8.612, allocations: 1.842 MB / 2.716 GB, free: 32.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001785/8.614, allocations: 0.4935 MB / 2.717 GB, free: 32.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009737/8.615, allocations: 25.5 kB / 2.717 GB, free: 32.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/8.616, allocations: 111.2 kB / 2.717 GB, free: 32.66 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000227/8.617, allocations: 92.47 kB / 2.717 GB, free: 32.66 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/8.617, allocations: 59.11 kB / 2.717 GB, free: 32.66 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003873/8.621, allocations: 1.54 MB / 2.718 GB, free: 32.51 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.21e-07/8.621, allocations: 0 / 2.718 GB, free: 32.51 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01067/8.631, allocations: 1.81 MB / 2.72 GB, free: 32.31 MB / 0.5886 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) * Number of clocked states: 0 () * 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.004594/8.636, allocations: 1.588 MB / 2.722 GB, free: 31.81 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0281/8.664, allocations: 24.64 MB / 2.746 GB, free: 28.82 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/8.664, allocations: 0 / 2.746 GB, free: 28.82 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002225/8.666, allocations: 0.7799 MB / 2.747 GB, free: 28.54 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006617/8.673, allocations: 1.057 MB / 2.748 GB, free: 28.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/8.684, allocations: 4.884 MB / 2.752 GB, free: 25.68 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002554/8.687, allocations: 1.765 MB / 2.754 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003263/8.69, allocations: 454.5 kB / 2.755 GB, free: 24.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007701/8.691, allocations: 176.2 kB / 2.755 GB, free: 24.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.703e-06/8.691, allocations: 0 / 2.755 GB, free: 24.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.5826/9.274, allocations: 77.19 MB / 2.83 GB, free: 54.82 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)