Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.655/1.655, allocations: 289.7 MB / 302.2 MB, free: 2.172 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.00116/0.00116, allocations: 181.1 kB / 371.6 MB, free: 3.375 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.702/1.702, allocations: 205.2 MB / 0.6309 GB, free: 11.75 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.000888/0.0008881, allocations: 94.41 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.3e-05/5.302e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2774, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.858/6.135, allocations: 2.114 GB / 3.094 GB, free: 80.09 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/6.136, allocations: 89.95 kB / 3.094 GB, free: 80.05 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.853/12.99, allocations: 1.649 GB / 4.743 GB, free: 109.6 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.395e-06/12.99, allocations: 0 / 4.743 GB, free: 109.6 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004255/12.99, allocations: 58.97 kB / 4.743 GB, free: 109.6 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.01123/13, allocations: 2.502 MB / 4.746 GB, free: 108.6 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 6.117e-05/13, allocations: 13.47 kB / 4.746 GB, free: 108.6 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006862/13.01, allocations: 0.8137 MB / 4.747 GB, free: 108.4 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009901/13.02, allocations: 2.638 MB / 4.749 GB, free: 108 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/13.02, allocations: 111.5 kB / 4.749 GB, free: 108 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000422/13.02, allocations: 149.6 kB / 4.749 GB, free: 108 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00385/13.02, allocations: 1.527 MB / 4.751 GB, free: 107.8 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/13.02, allocations: 3.031 kB / 4.751 GB, free: 107.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/13.02, allocations: 56.66 kB / 4.751 GB, free: 107.8 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.486e-05/13.02, allocations: 47.33 kB / 4.751 GB, free: 107.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002666/13.02, allocations: 1.144 MB / 4.752 GB, free: 107.8 MB / 0.9948 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.01375/13.04, allocations: 7.425 MB / 4.759 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/13.04, allocations: 0.9384 MB / 4.76 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007205/13.04, allocations: 421.4 kB / 4.761 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/13.04, allocations: 111.9 kB / 4.761 GB, free: 103.8 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/13.04, allocations: 42.66 kB / 4.761 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00159/13.04, allocations: 224.3 kB / 4.761 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=78): time 4.168e-06/13.04, allocations: 1.094 kB / 4.761 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=78): time 0.00259/13.05, allocations: 0.9798 MB / 4.762 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/13.05, allocations: 59.72 kB / 4.762 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002644/13.05, allocations: 1.497 MB / 4.764 GB, free: 103.3 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001269/13.05, allocations: 52.42 kB / 4.764 GB, free: 103.2 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007204/13.05, allocations: 0.9748 MB / 4.765 GB, free: 103 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/13.05, allocations: 269.2 kB / 4.765 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/13.05, allocations: 20.25 kB / 4.765 GB, free: 102.8 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/13.05, allocations: 344.1 kB / 4.765 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005834/13.05, allocations: 333.8 kB / 4.765 GB, free: 102.5 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007745/13.05, allocations: 0.7553 MB / 4.766 GB, free: 102 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006707/13.05, allocations: 443.8 kB / 4.767 GB, free: 102 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/13.05, allocations: 3.844 kB / 4.767 GB, free: 102 MB / 0.9948 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002599/13.05, allocations: 1.302 MB / 4.768 GB, free: 101.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008479/13.05, allocations: 3.965 MB / 4.772 GB, free: 97.72 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/13.05, allocations: 10.12 kB / 4.772 GB, free: 97.72 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/13.06, allocations: 111.7 kB / 4.772 GB, free: 97.71 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/13.06, allocations: 258.1 kB / 4.772 GB, free: 97.71 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/13.06, allocations: 2.37 MB / 4.774 GB, free: 95.86 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/13.06, allocations: 145.8 kB / 4.775 GB, free: 95.85 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/13.06, allocations: 61.72 kB / 4.775 GB, free: 95.85 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/13.06, allocations: 9.109 kB / 4.775 GB, free: 95.84 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002091/13.06, allocations: 1.065 MB / 4.776 GB, free: 95.81 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/13.06, allocations: 11.41 kB / 4.776 GB, free: 95.81 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002615/13.06, allocations: 101.6 kB / 4.776 GB, free: 95.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/13.06, allocations: 231.3 kB / 4.776 GB, free: 95.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002064/13.07, allocations: 1.783 MB / 4.778 GB, free: 94.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/13.07, allocations: 134.1 kB / 4.778 GB, free: 94.54 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/13.07, allocations: 57.09 kB / 4.778 GB, free: 94.53 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003571/13.07, allocations: 167.1 kB / 4.778 GB, free: 94.42 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004165/13.07, allocations: 191.5 kB / 4.778 GB, free: 94.32 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/13.07, allocations: 1.063 MB / 4.779 GB, free: 94.22 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/13.07, allocations: 7.156 kB / 4.779 GB, free: 94.22 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/13.07, allocations: 0 / 4.779 GB, free: 94.22 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001513/13.07, allocations: 0.8715 MB / 4.78 GB, free: 94.04 MB / 0.9948 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.005558/13.08, allocations: 2.869 MB / 4.783 GB, free: 93.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/13.08, allocations: 0 / 4.783 GB, free: 93.38 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008875/13.08, allocations: 189.8 kB / 4.783 GB, free: 93.38 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002689/13.08, allocations: 92.78 kB / 4.783 GB, free: 93.37 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-05/13.08, allocations: 24.17 kB / 4.783 GB, free: 93.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/13.08, allocations: 2.239 MB / 4.785 GB, free: 91.53 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/13.08, allocations: 0 / 4.785 GB, free: 91.53 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002774/13.08, allocations: 1.619 MB / 4.787 GB, free: 91.09 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/13.09, allocations: 349.9 kB / 4.787 GB, free: 90.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002053/13.09, allocations: 15.06 kB / 4.787 GB, free: 90.89 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/13.09, allocations: 130.6 kB / 4.788 GB, free: 90.89 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/13.09, allocations: 59.25 kB / 4.788 GB, free: 90.88 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/13.09, allocations: 33.22 kB / 4.788 GB, free: 90.88 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001818/13.09, allocations: 1.156 MB / 4.789 GB, free: 90.72 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.1e-07/13.09, allocations: 3.688 kB / 4.789 GB, free: 90.72 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004973/13.09, allocations: 1.382 MB / 4.79 GB, free: 90.58 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006498/13.1, allocations: 4.188 MB / 4.794 GB, free: 88.8 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003603/13.1, allocations: 1.715 MB / 4.796 GB, free: 88.54 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/13.1, allocations: 0 / 4.796 GB, free: 88.54 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008068/13.11, allocations: 0.5063 MB / 4.796 GB, free: 88.43 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005123/13.11, allocations: 0.9917 MB / 4.797 GB, free: 88.39 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004962/13.12, allocations: 2.69 MB / 4.8 GB, free: 87.64 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/13.12, allocations: 1.616 MB / 4.802 GB, free: 86.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.003276/13.12, allocations: 0.7288 MB / 4.802 GB, free: 86.88 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/13.12, allocations: 120 kB / 4.802 GB, free: 86.87 MB / 0.9948 GB Notification: Performance of SimCode: time 1.673e-06/13.12, allocations: 0 / 4.802 GB, free: 86.87 MB / 0.9948 GB Notification: Performance of Templates: time 0.1356/13.26, allocations: 88.28 MB / 4.889 GB, free: 81.98 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)