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.63/1.63, allocations: 289.9 MB / 297.4 MB, free: 6.367 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.001275/0.001275, allocations: 180.8 kB / 366.7 MB, free: 1.652 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.714/1.714, allocations: 205.2 MB / 0.626 GB, free: 7.145 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.0008733/0.0008733, allocations: 88.03 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.519e-05/1.521e-05, allocations: 4 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6894/0.6894, allocations: 116.3 MB / 0.9732 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.356/6.046, allocations: 2.114 GB / 3.087 GB, free: 339.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/6.046, allocations: 90.69 kB / 3.087 GB, free: 339.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.876/11.92, allocations: 1.631 GB / 4.718 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.473e-06/11.92, allocations: 0 / 4.718 GB, free: 117.1 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004616/11.92, allocations: 59.03 kB / 4.718 GB, free: 117.1 MB / 0.9792 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.008472/11.93, allocations: 2.507 MB / 4.72 GB, free: 116 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/11.93, allocations: 7.438 kB / 4.72 GB, free: 116 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006262/11.94, allocations: 0.8162 MB / 4.721 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008371/11.95, allocations: 2.628 MB / 4.724 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/11.95, allocations: 52.83 kB / 4.724 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006072/11.95, allocations: 92.56 kB / 4.724 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002949/11.95, allocations: 1.117 MB / 4.725 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003533/11.95, allocations: 1.333 MB / 4.726 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.427e-05/11.95, allocations: 3.938 kB / 4.726 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/11.95, allocations: 0 / 4.726 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.424e-05/11.95, allocations: 50.02 kB / 4.726 GB, free: 115.1 MB / 0.9792 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.01358/11.97, allocations: 7.133 MB / 4.733 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/11.97, allocations: 0.9684 MB / 4.734 GB, free: 111.1 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006689/11.97, allocations: 419 kB / 4.735 GB, free: 111.1 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002309/11.97, allocations: 120.7 kB / 4.735 GB, free: 111 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/11.97, allocations: 40.28 kB / 4.735 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001393/11.97, allocations: 198 kB / 4.735 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=78): time 7.153e-06/11.97, allocations: 0 / 4.735 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=78): time 0.00334/11.97, allocations: 1.036 MB / 4.736 GB, free: 110.7 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/11.97, allocations: 65.31 kB / 4.736 GB, free: 110.7 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002931/11.98, allocations: 1.274 MB / 4.737 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/11.98, allocations: 29.52 kB / 4.737 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008577/11.98, allocations: 0.9806 MB / 4.738 GB, free: 110.1 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002648/11.98, allocations: 259.5 kB / 4.738 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/11.98, allocations: 0 / 4.738 GB, free: 109.9 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001229/11.98, allocations: 352.3 kB / 4.739 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/11.98, allocations: 333.7 kB / 4.739 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007398/11.98, allocations: 0.7515 MB / 4.74 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/11.98, allocations: 494.9 kB / 4.74 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/11.98, allocations: 3.719 kB / 4.74 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003146/11.98, allocations: 1.297 MB / 4.742 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009765/11.99, allocations: 3.939 MB / 4.745 GB, free: 104.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/11.99, allocations: 10.31 kB / 4.745 GB, free: 104.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003936/11.99, allocations: 102.3 kB / 4.746 GB, free: 104.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/11.99, allocations: 256.7 kB / 4.746 GB, free: 104.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/11.99, allocations: 2.254 MB / 4.748 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/11.99, allocations: 116 kB / 4.748 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/11.99, allocations: 59.59 kB / 4.748 GB, free: 103 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/11.99, allocations: 3.906 kB / 4.748 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002238/11.99, allocations: 0.9938 MB / 4.749 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.117e-05/11.99, allocations: 10.69 kB / 4.749 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002709/11.99, allocations: 98.25 kB / 4.749 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008471/11.99, allocations: 238.4 kB / 4.749 GB, free: 102.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/12, allocations: 1.676 MB / 4.751 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/12, allocations: 106 kB / 4.751 GB, free: 101.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/12, allocations: 50.2 kB / 4.751 GB, free: 101.6 MB / 0.9792 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real 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.0004108/12, allocations: 142.8 kB / 4.751 GB, free: 101.5 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000649/12, allocations: 184 kB / 4.752 GB, free: 101.4 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003217/12, allocations: 1.017 MB / 4.753 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/12, allocations: 11.25 kB / 4.753 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/12, allocations: 0 / 4.753 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001926/12, allocations: 0.8679 MB / 4.753 GB, free: 101.1 MB / 0.9792 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.007027/12.01, allocations: 2.68 MB / 4.756 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/12.01, allocations: 3.312 kB / 4.756 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008803/12.01, allocations: 190.1 kB / 4.756 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002593/12.01, allocations: 89.78 kB / 4.756 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/12.01, allocations: 14.08 kB / 4.756 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/12.02, allocations: 2.183 MB / 4.758 GB, free: 98.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/12.02, allocations: 7.812 kB / 4.758 GB, free: 98.69 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/12.02, allocations: 1.594 MB / 4.76 GB, free: 98.24 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009989/12.02, allocations: 333.4 kB / 4.76 GB, free: 98.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005654/12.02, allocations: 3.875 kB / 4.76 GB, free: 98.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/12.02, allocations: 115.9 kB / 4.76 GB, free: 98.04 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/12.02, allocations: 57.64 kB / 4.76 GB, free: 98.04 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.837e-05/12.02, allocations: 32.75 kB / 4.761 GB, free: 98.04 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00221/12.02, allocations: 0.965 MB / 4.761 GB, free: 97.89 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.11e-07/12.02, allocations: 0 / 4.761 GB, free: 97.89 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006042/12.03, allocations: 1.303 MB / 4.763 GB, free: 97.73 MB / 0.9792 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.007551/12.04, allocations: 4.373 MB / 4.767 GB, free: 95.96 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003264/12.04, allocations: 1.607 MB / 4.769 GB, free: 95.68 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/12.04, allocations: 0 / 4.769 GB, free: 95.68 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008299/12.04, allocations: 0.4892 MB / 4.769 GB, free: 95.55 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005122/12.05, allocations: 0.8783 MB / 4.77 GB, free: 95.53 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007151/12.05, allocations: 2.618 MB / 4.772 GB, free: 94.78 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001868/12.06, allocations: 1.622 MB / 4.774 GB, free: 94.04 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003699/12.06, allocations: 0.665 MB / 4.775 GB, free: 94 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/12.06, allocations: 112.1 kB / 4.775 GB, free: 94 MB / 0.9792 GB Notification: Performance of SimCode: time 6.51e-07/12.06, allocations: 0 / 4.775 GB, free: 94 MB / 0.9792 GB Notification: Performance of Templates: time 0.09081/12.15, allocations: 55.43 MB / 4.829 GB, free: 64.02 MB / 0.9792 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)