Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.597/1.597, allocations: 289.8 MB / 297.1 MB, free: 8.988 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.001123/0.001123, allocations: 180.4 kB / 366.3 MB, free: 11.31 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.615/1.615, allocations: 205.1 MB / 0.6256 GB, free: 11.37 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009063/0.0009064, allocations: 100.3 kB / 0.7396 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 8.416e-06/8.516e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.242, allocations: 116.3 MB / 0.9726 GB, free: 31.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.767/5.009, allocations: 2.114 GB / 3.086 GB, free: 146.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002934/5.01, allocations: 90.89 kB / 3.086 GB, free: 146.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.152/11.16, allocations: 1.65 GB / 4.737 GB, free: 123.6 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0003798/11.16, allocations: 57.38 kB / 4.737 GB, free: 123.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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.007666/11.17, allocations: 2.53 MB / 4.739 GB, free: 122.9 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/11.17, allocations: 8.094 kB / 4.739 GB, free: 122.9 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00639/11.18, allocations: 0.8955 MB / 4.74 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006901/11.18, allocations: 2.722 MB / 4.743 GB, free: 122.4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.621e-05/11.18, allocations: 45.25 kB / 4.743 GB, free: 122.4 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002295/11.18, allocations: 90.34 kB / 4.743 GB, free: 122.4 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002243/11.19, allocations: 1.248 MB / 4.744 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002173/11.19, allocations: 1.413 MB / 4.745 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/11.19, allocations: 5.031 kB / 4.745 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/11.19, allocations: 3.062 kB / 4.745 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.611e-05/11.19, allocations: 53.09 kB / 4.746 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01052/11.2, allocations: 7.638 MB / 4.753 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/11.2, allocations: 0.8959 MB / 4.754 GB, free: 118.4 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009675/11.2, allocations: 0.5428 MB / 4.754 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000434/11.2, allocations: 278.2 kB / 4.755 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/11.2, allocations: 45.47 kB / 4.755 GB, free: 118 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=81): time 4.899e-06/11.2, allocations: 0 / 4.755 GB, free: 118 MB / 0.9948 GB Notification: Performance of matching and sorting (n=81): time 0.005097/11.21, allocations: 1.192 MB / 4.756 GB, free: 117.9 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/11.21, allocations: 64.69 kB / 4.756 GB, free: 117.8 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/11.21, allocations: 1.301 MB / 4.757 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001953/11.21, allocations: 25.7 kB / 4.757 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006125/11.21, allocations: 0.6272 MB / 4.758 GB, free: 117.3 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003705/11.21, allocations: 273.5 kB / 4.758 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/11.21, allocations: 1 kB / 4.758 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001092/11.21, allocations: 349.9 kB / 4.758 GB, free: 116.9 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/11.21, allocations: 365.5 kB / 4.759 GB, free: 116.9 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008146/11.21, allocations: 0.7663 MB / 4.76 GB, free: 116.4 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/11.21, allocations: 0.5177 MB / 4.76 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/11.21, allocations: 2.594 kB / 4.76 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003218/11.22, allocations: 1.393 MB / 4.761 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009364/11.22, allocations: 3.85 MB / 4.765 GB, free: 112.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/11.22, allocations: 8.75 kB / 4.765 GB, free: 112.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/11.22, allocations: 135 kB / 4.765 GB, free: 112.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/11.22, allocations: 272 kB / 4.766 GB, free: 112.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/11.22, allocations: 3.386 MB / 4.769 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/11.22, allocations: 167.5 kB / 4.769 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/11.22, allocations: 56.19 kB / 4.769 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/11.22, allocations: 5.812 kB / 4.769 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002483/11.23, allocations: 1.165 MB / 4.77 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.59e-05/11.23, allocations: 10.91 kB / 4.77 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003232/11.23, allocations: 134.3 kB / 4.77 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009055/11.23, allocations: 242.2 kB / 4.771 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002545/11.23, allocations: 3.046 MB / 4.774 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/11.23, allocations: 139.8 kB / 4.774 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-05/11.23, allocations: 58.84 kB / 4.774 GB, free: 106.6 MB / 0.9948 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: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003862/11.23, allocations: 142.4 kB / 4.774 GB, free: 106.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/11.23, allocations: 189.3 kB / 4.774 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003215/11.24, allocations: 1.232 MB / 4.775 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/11.24, allocations: 6.469 kB / 4.775 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/11.24, allocations: 0 / 4.775 GB, free: 106.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002087/11.24, allocations: 1.037 MB / 4.776 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007021/11.25, allocations: 2.695 MB / 4.779 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/11.25, allocations: 0 / 4.779 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/11.25, allocations: 219.9 kB / 4.779 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003622/11.25, allocations: 115.4 kB / 4.779 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.164e-05/11.25, allocations: 14.27 kB / 4.779 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003427/11.25, allocations: 4.71 MB / 4.784 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/11.25, allocations: 3.906 kB / 4.784 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003613/11.25, allocations: 1.805 MB / 4.786 GB, free: 100.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/11.26, allocations: 351.6 kB / 4.786 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006662/11.26, allocations: 13.75 kB / 4.786 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/11.26, allocations: 103.1 kB / 4.786 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/11.26, allocations: 46.38 kB / 4.786 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/11.26, allocations: 40.7 kB / 4.786 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.002318/11.26, allocations: 0.9851 MB / 4.787 GB, free: 100.3 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.006205/11.27, allocations: 1.296 MB / 4.788 GB, free: 100.2 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (79): * 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): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,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: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.007168/11.27, allocations: 4.392 MB / 4.793 GB, free: 98.53 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004342/11.28, allocations: 1.845 MB / 4.794 GB, free: 98.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/11.28, allocations: 3.531 kB / 4.794 GB, free: 98.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/11.28, allocations: 0.6356 MB / 4.795 GB, free: 98 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005658/11.29, allocations: 0.855 MB / 4.796 GB, free: 97.96 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008177/11.29, allocations: 2.775 MB / 4.799 GB, free: 97.26 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/11.3, allocations: 1.784 MB / 4.8 GB, free: 96.52 MB / 0.9948 GB Notification: Performance of SimCode: time 1.252e-06/11.3, allocations: 0 / 4.8 GB, free: 96.52 MB / 0.9948 GB Notification: Performance of Templates: time 0.09974/11.4, allocations: 59.82 MB / 4.859 GB, free: 94.61 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & ./Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)