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.5901/0.5901, allocations: 94.77 MB / 102.2 MB, free: 10.15 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.001169/0.001169, allocations: 179.6 kB / 125.6 MB, free: 11.88 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.672/1.672, allocations: 170.6 MB / 319.4 MB, free: 9.273 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.001893/0.001893, allocations: 110.5 kB / 381.3 MB, free: 18.3 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.654e-05/2.637e-05, allocations: 4 kB / 449.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2057, allocations: 61.51 MB / 0.4987 GB, free: 4.125 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.807/2.013, allocations: 432.5 MB / 0.921 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/2.013, allocations: 92.92 kB / 0.9211 GB, free: 150.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.828/9.841, allocations: 1.685 GB / 2.606 GB, free: 38.89 MB / 0.573 GB Notification: Performance of FrontEnd: time 5.23e-06/9.841, allocations: 3.609 kB / 2.606 GB, free: 38.89 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0004407/9.842, allocations: 80.55 kB / 2.606 GB, free: 38.89 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.01195/9.854, allocations: 3.106 MB / 2.609 GB, free: 37.69 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 6.921e-05/9.854, allocations: 11.33 kB / 2.609 GB, free: 37.68 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003063/9.857, allocations: 378.7 kB / 2.61 GB, free: 37.51 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/9.867, allocations: 3.481 MB / 2.613 GB, free: 36.98 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003478/9.868, allocations: 157.2 kB / 2.613 GB, free: 36.91 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/9.869, allocations: 146.9 kB / 2.613 GB, free: 36.91 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004425/9.873, allocations: 2.269 MB / 2.616 GB, free: 36.91 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003913/9.877, allocations: 2.101 MB / 2.618 GB, free: 36.67 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/9.877, allocations: 5.938 kB / 2.618 GB, free: 36.67 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001922/9.878, allocations: 2.906 kB / 2.618 GB, free: 36.67 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/9.878, allocations: 45.09 kB / 2.618 GB, free: 36.67 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.01865/9.896, allocations: 9.646 MB / 2.627 GB, free: 32.55 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007421/9.904, allocations: 2.776 MB / 2.63 GB, free: 32.51 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/9.906, allocations: 0.948 MB / 2.631 GB, free: 32.5 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001915/9.907, allocations: 1.978 MB / 2.633 GB, free: 30.25 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00201/9.909, allocations: 1.091 MB / 2.634 GB, free: 30.16 MB / 0.573 GB Notification: Performance of pre-optimization done (n=96): time 7.875e-06/9.909, allocations: 0 / 2.634 GB, free: 30.16 MB / 0.573 GB Notification: Performance of matching and sorting (n=96): time 0.01037/9.92, allocations: 2.906 MB / 2.637 GB, free: 29.95 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/9.92, allocations: 224 kB / 2.637 GB, free: 29.7 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008323/9.928, allocations: 1.791 MB / 2.639 GB, free: 29.45 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001789/9.93, allocations: 52.08 kB / 2.639 GB, free: 29.42 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00316/9.933, allocations: 1.27 MB / 2.64 GB, free: 29 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001346/9.935, allocations: 316.5 kB / 2.64 GB, free: 28.79 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001617/9.937, allocations: 19.75 kB / 2.64 GB, free: 28.79 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0004124/9.937, allocations: 384.3 kB / 2.641 GB, free: 28.48 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006765/9.944, allocations: 2.159 MB / 2.643 GB, free: 28.48 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00581/9.95, allocations: 2.554 MB / 2.645 GB, free: 28.06 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/9.961, allocations: 2.656 MB / 2.648 GB, free: 28.05 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.538e-05/9.961, allocations: 4.594 kB / 2.648 GB, free: 28.05 MB / 0.573 GB Notification: Performance of matching and sorting (n=247) (initialization): time 0.03319/9.994, allocations: 6.138 MB / 2.654 GB, free: 27.82 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001946/9.996, allocations: 3.223 MB / 2.657 GB, free: 24.73 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.006e-05/9.996, allocations: 9.969 kB / 2.657 GB, free: 24.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005843/10, allocations: 2.365 MB / 2.659 GB, free: 24.71 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/10, allocations: 239 kB / 2.659 GB, free: 24.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008919/10.01, allocations: 4.341 MB / 2.664 GB, free: 23.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006354/10.02, allocations: 406.8 kB / 2.664 GB, free: 23.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002175/10.02, allocations: 285.5 kB / 2.664 GB, free: 23.02 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.273e-05/10.02, allocations: 6.656 kB / 2.664 GB, free: 23.02 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02242/10.04, allocations: 6.418 MB / 2.671 GB, free: 22.85 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.354e-05/10.04, allocations: 6.969 kB / 2.671 GB, free: 22.85 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007291/10.05, allocations: 2.904 MB / 2.674 GB, free: 22.83 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/10.05, allocations: 229.6 kB / 2.674 GB, free: 22.83 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006296/10.06, allocations: 4.514 MB / 2.678 GB, free: 20.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004865/10.06, allocations: 348.7 kB / 2.678 GB, free: 20.43 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001704/10.07, allocations: 257.8 kB / 2.679 GB, free: 20.43 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.003138/10.07, allocations: 170.9 kB / 2.679 GB, free: 36.31 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/10.07, allocations: 243.3 kB / 2.679 GB, free: 36.18 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007654/10.08, allocations: 2.014 MB / 2.681 GB, free: 35.94 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-05/10.08, allocations: 9.812 kB / 2.681 GB, free: 35.94 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.372e-05/10.08, allocations: 5.406 kB / 2.681 GB, free: 35.94 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/10.08, allocations: 3.609 kB / 2.681 GB, free: 35.94 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01483/10.09, allocations: 3.923 MB / 2.685 GB, free: 35.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/10.09, allocations: 2.516 kB / 2.685 GB, free: 35.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009655/10.09, allocations: 204.3 kB / 2.685 GB, free: 35.07 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/10.1, allocations: 0.7596 MB / 2.686 GB, free: 35.05 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/10.1, allocations: 26.69 kB / 2.686 GB, free: 35.05 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004862/10.1, allocations: 3.879 MB / 2.69 GB, free: 32.14 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/10.1, allocations: 3.406 kB / 2.69 GB, free: 32.14 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005686/10.11, allocations: 1.877 MB / 2.692 GB, free: 31.71 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002693/10.11, allocations: 492.8 kB / 2.692 GB, free: 31.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001523/10.11, allocations: 9.078 kB / 2.692 GB, free: 31.46 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002701/10.11, allocations: 93.69 kB / 2.692 GB, free: 31.45 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/10.11, allocations: 87.58 kB / 2.692 GB, free: 31.45 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/10.11, allocations: 60.31 kB / 2.692 GB, free: 31.45 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.003808/10.12, allocations: 1.287 MB / 2.693 GB, free: 31.31 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.52e-07/10.12, allocations: 0 / 2.693 GB, free: 31.31 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.01212/10.13, allocations: 1.767 MB / 2.695 GB, free: 31.08 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) * 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.00598/10.14, allocations: 1.598 MB / 2.697 GB, free: 30.59 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02853/10.16, allocations: 25.01 MB / 2.721 GB, free: 29.57 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/10.16, allocations: 0 / 2.721 GB, free: 29.57 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002201/10.17, allocations: 0.7275 MB / 2.722 GB, free: 29.46 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007075/10.17, allocations: 0.9398 MB / 2.723 GB, free: 29.44 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009856/10.18, allocations: 3 MB / 2.726 GB, free: 28.57 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002794/10.19, allocations: 1.774 MB / 2.727 GB, free: 27.83 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.004397/10.19, allocations: 0.5365 MB / 2.728 GB, free: 27.81 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005035/10.19, allocations: 136.3 kB / 2.728 GB, free: 27.8 MB / 0.5886 GB Notification: Performance of SimCode: time 1.794e-06/10.19, allocations: 0 / 2.728 GB, free: 27.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.1329/10.32, allocations: 69.24 MB / 2.796 GB, free: 15.59 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)