Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.516/2.516, allocations: 285 MB / 292.5 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001478, allocations: 176.9 kB / 360.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.991/1.991, allocations: 205.3 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 93.41 kB / 0.7322 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.597e-05, allocations: 7.984 kB / 0.8509 GB, free: 3.387 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8166/0.8166, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.326/7.143, allocations: 2.112 GB / 3.076 GB, free: 5.238 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/7.143, allocations: 93.95 kB / 3.076 GB, free: 5.195 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.202/16.34, allocations: 1.631 GB / 4.707 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.406e-06/16.34, allocations: 5.453 kB / 4.707 GB, free: 116.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004588/16.35, allocations: 62.61 kB / 4.707 GB, free: 116.3 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.009279/16.35, allocations: 2.5 MB / 4.709 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/16.35, allocations: 10.22 kB / 4.709 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009194/16.36, allocations: 0.8155 MB / 4.71 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01152/16.38, allocations: 2.635 MB / 4.713 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/16.38, allocations: 43.97 kB / 4.713 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005601/16.38, allocations: 85.78 kB / 4.713 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003671/16.38, allocations: 1.122 MB / 4.714 GB, free: 114.7 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004026/16.38, allocations: 1.333 MB / 4.715 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.012e-05/16.38, allocations: 3.562 kB / 4.715 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/16.38, allocations: 7.188 kB / 4.715 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.262e-05/16.38, allocations: 44.39 kB / 4.715 GB, free: 114.5 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.01667/16.4, allocations: 7.136 MB / 4.722 GB, free: 110.8 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002034/16.4, allocations: 0.9703 MB / 4.723 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/16.4, allocations: 423.5 kB / 4.724 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/16.4, allocations: 105 kB / 4.724 GB, free: 110.5 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/16.4, allocations: 45.28 kB / 4.724 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001814/16.41, allocations: 198.1 kB / 4.724 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=78): time 6.352e-06/16.41, allocations: 3.594 kB / 4.724 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=78): time 0.004549/16.41, allocations: 1.025 MB / 4.725 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/16.41, allocations: 60.03 kB / 4.725 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00293/16.41, allocations: 1.277 MB / 4.726 GB, free: 110 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003629/16.41, allocations: 29.36 kB / 4.726 GB, free: 110 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/16.42, allocations: 0.9864 MB / 4.727 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003868/16.42, allocations: 262.5 kB / 4.728 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/16.42, allocations: 0 / 4.728 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001109/16.42, allocations: 351.4 kB / 4.728 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007993/16.42, allocations: 336.5 kB / 4.728 GB, free: 109.1 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/16.42, allocations: 0.7544 MB / 4.729 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/16.42, allocations: 491 kB / 4.729 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/16.42, allocations: 6.219 kB / 4.729 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.004297/16.42, allocations: 1.29 MB / 4.731 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008542/16.42, allocations: 3.937 MB / 4.734 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/16.42, allocations: 14.97 kB / 4.735 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005657/16.43, allocations: 112.5 kB / 4.735 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002199/16.43, allocations: 255.2 kB / 4.735 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003057/16.43, allocations: 2.246 MB / 4.737 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/16.43, allocations: 111 kB / 4.737 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001804/16.43, allocations: 59.73 kB / 4.737 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/16.43, allocations: 3.656 kB / 4.737 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003606/16.44, allocations: 0.9962 MB / 4.738 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/16.44, allocations: 9.75 kB / 4.738 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/16.44, allocations: 109 kB / 4.738 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/16.44, allocations: 232.4 kB / 4.739 GB, free: 102.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/16.44, allocations: 1.669 MB / 4.74 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/16.44, allocations: 104 kB / 4.74 GB, free: 101.3 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/16.44, allocations: 56.09 kB / 4.74 GB, free: 101.3 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.0004175/16.45, allocations: 140 kB / 4.74 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/16.45, allocations: 182.8 kB / 4.741 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00394/16.45, allocations: 1.034 MB / 4.742 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.169e-05/16.45, allocations: 5.031 kB / 4.742 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/16.45, allocations: 7.094 kB / 4.742 GB, free: 101 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002824/16.45, allocations: 0.8629 MB / 4.742 GB, free: 100.8 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.007892/16.46, allocations: 2.678 MB / 4.745 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/16.46, allocations: 3.844 kB / 4.745 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/16.46, allocations: 194.5 kB / 4.745 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004028/16.46, allocations: 89 kB / 4.745 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-05/16.46, allocations: 14.72 kB / 4.745 GB, free: 100.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00274/16.47, allocations: 2.184 MB / 4.748 GB, free: 98.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/16.47, allocations: 3.125 kB / 4.748 GB, free: 98.41 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004362/16.47, allocations: 1.579 MB / 4.749 GB, free: 97.97 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/16.47, allocations: 337.3 kB / 4.749 GB, free: 97.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/16.47, allocations: 3.812 kB / 4.749 GB, free: 97.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/16.47, allocations: 118 kB / 4.749 GB, free: 97.77 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/16.47, allocations: 61.86 kB / 4.75 GB, free: 97.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001008/16.47, allocations: 39.36 kB / 4.75 GB, free: 97.77 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001945/16.48, allocations: 0.9644 MB / 4.751 GB, free: 97.62 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.22e-07/16.48, allocations: 0 / 4.751 GB, free: 97.62 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006555/16.48, allocations: 1.293 MB / 4.752 GB, free: 97.46 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.007617/16.49, allocations: 4.365 MB / 4.756 GB, free: 95.72 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004035/16.49, allocations: 1.618 MB / 4.758 GB, free: 95.48 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/16.49, allocations: 3.938 kB / 4.758 GB, free: 95.48 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/16.5, allocations: 497 kB / 4.758 GB, free: 95.38 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006628/16.5, allocations: 0.8759 MB / 4.759 GB, free: 95.36 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00654/16.51, allocations: 2.623 MB / 4.762 GB, free: 94.61 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/16.51, allocations: 1.611 MB / 4.763 GB, free: 93.87 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004718/16.51, allocations: 0.6689 MB / 4.764 GB, free: 93.85 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004641/16.52, allocations: 115.3 kB / 4.764 GB, free: 93.84 MB / 0.9792 GB Notification: Performance of SimCode: time 1.983e-06/16.52, allocations: 0 / 4.764 GB, free: 93.84 MB / 0.9792 GB Notification: Performance of Templates: time 0.1295/16.64, allocations: 55.42 MB / 4.818 GB, free: 89.37 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)