Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem") translateModel(BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7816/0.7816, allocations: 141.8 MB / 149.1 MB, free: 14.56 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001544, allocations: 190.6 kB / 182 MB, free: 11.02 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.3 MB / 436 MB, free: 3.547 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 90.27 kB / 0.507 GB, free: 18.37 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001938/0.001938, allocations: 282.8 kB / 0.5885 GB, free: 4.98 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.676e-06, allocations: 1.156 kB / 0.6759 GB, free: 137.8 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1946, allocations: 82.78 MB / 0.7568 GB, free: 85.46 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.133/4.328, allocations: 1.91 GB / 2.667 GB, free: 83.66 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/4.328, allocations: 84.7 kB / 2.667 GB, free: 83.58 MB / 0.6982 GB Notification: Performance of FrontEnd: time 11.41/15.74, allocations: 3.165 GB / 5.832 GB, free: 55.11 MB / 0.8232 GB Notification: Performance of Transformations before backend: time 0.00109/15.74, allocations: 120.5 kB / 5.832 GB, free: 55.09 MB / 0.8232 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 711 * Number of variables: 711 Notification: Performance of Generate backend data structure: time 0.02068/15.76, allocations: 4.695 MB / 5.837 GB, free: 52.74 MB / 0.8232 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/15.76, allocations: 9.5 kB / 5.837 GB, free: 52.74 MB / 0.8232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01505/15.78, allocations: 1.581 MB / 5.838 GB, free: 52.47 MB / 0.8232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02161/15.8, allocations: 4.582 MB / 5.843 GB, free: 51.59 MB / 0.8232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/15.8, allocations: 101.6 kB / 5.843 GB, free: 51.58 MB / 0.8232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001829/15.8, allocations: 189.2 kB / 5.843 GB, free: 51.58 MB / 0.8232 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008708/15.81, allocations: 2.549 MB / 5.846 GB, free: 51.56 MB / 0.8232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/15.82, allocations: 2.913 MB / 5.848 GB, free: 51.19 MB / 0.8232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001856/15.82, allocations: 0 / 5.848 GB, free: 51.19 MB / 0.8232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001066/15.82, allocations: 7.875 kB / 5.848 GB, free: 51.18 MB / 0.8232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001279/15.82, allocations: 106.4 kB / 5.848 GB, free: 51.18 MB / 0.8232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03517/15.86, allocations: 15.19 MB / 5.863 GB, free: 41.45 MB / 0.8232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004829/15.86, allocations: 2.009 MB / 5.865 GB, free: 40.75 MB / 0.8232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002522/15.87, allocations: 1.088 MB / 5.866 GB, free: 40.34 MB / 0.8232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006461/15.87, allocations: 402.5 kB / 5.867 GB, free: 39.95 MB / 0.8232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/15.87, allocations: 62.41 kB / 5.867 GB, free: 39.9 MB / 0.8232 GB Notification: Performance of pre-optimization done (n=193): time 4.779e-06/15.87, allocations: 0 / 5.867 GB, free: 39.9 MB / 0.8232 GB Notification: Performance of matching and sorting (n=201): time 0.02146/15.89, allocations: 5.636 MB / 5.872 GB, free: 35.51 MB / 0.8232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.866e-05/15.89, allocations: 77.41 kB / 5.872 GB, free: 35.43 MB / 0.8232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009254/15.9, allocations: 2.78 MB / 5.875 GB, free: 32.91 MB / 0.8232 GB Notification: Performance of collectPreVariables (initialization): time 0.000817/15.9, allocations: 33.7 kB / 5.875 GB, free: 32.87 MB / 0.8232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001392/15.9, allocations: 1.184 MB / 5.876 GB, free: 31.85 MB / 0.8232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001273/15.9, allocations: 0.6603 MB / 5.877 GB, free: 31.24 MB / 0.8232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003795/15.9, allocations: 0 / 5.877 GB, free: 31.24 MB / 0.8232 GB Notification: Performance of setup shared object (initialization): time 0.0002263/15.9, allocations: 393.7 kB / 5.877 GB, free: 30.88 MB / 0.8232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/15.9, allocations: 0.8204 MB / 5.878 GB, free: 30.12 MB / 0.8232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002188/15.9, allocations: 1.758 MB / 5.88 GB, free: 28.04 MB / 0.8232 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone4.dynBal.medium.p = zone4.dynBal.p_start (sin.p = zone4.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone3.dynBal.medium.p = zone3.dynBal.p_start (sin.p = zone3.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone1.dynBal.medium.p = zone1.dynBal.p_start (sin.p = zone1.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: zone2.dynBal.medium.p = zone2.dynBal.p_start (sin.p = zone2.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02966/15.93, allocations: 7.734 MB / 5.887 GB, free: 21.69 MB / 0.8232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.075e-05/15.93, allocations: 4 kB / 5.887 GB, free: 21.69 MB / 0.8232 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.01062/15.95, allocations: 3.005 MB / 5.89 GB, free: 19.02 MB / 0.8232 GB Notification: Performance of prepare postOptimizeDAE: time 0.002163/15.95, allocations: 7.67 MB / 5.898 GB, free: 10.95 MB / 0.8232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.504e-05/15.95, allocations: 16.56 kB / 5.898 GB, free: 10.93 MB / 0.8232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000947/15.95, allocations: 265.9 kB / 5.898 GB, free: 10.68 MB / 0.8232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002715/15.95, allocations: 0.5265 MB / 5.899 GB, free: 10.16 MB / 0.8232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003605/15.95, allocations: 4.602 MB / 5.903 GB, free: 5.254 MB / 0.8232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006205/15.96, allocations: 295.7 kB / 5.903 GB, free: 4.965 MB / 0.8232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005864/15.96, allocations: 135.9 kB / 5.903 GB, free: 4.832 MB / 0.8232 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/15.96, allocations: 8 kB / 5.903 GB, free: 4.824 MB / 0.8232 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005795/15.97, allocations: 2.397 MB / 5.906 GB, free: 2.414 MB / 0.8232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.265e-05/15.97, allocations: 19.94 kB / 5.906 GB, free: 2.395 MB / 0.8232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/15.97, allocations: 300.9 kB / 5.906 GB, free: 2.086 MB / 0.8232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/15.97, allocations: 0.514 MB / 5.907 GB, free: 1.574 MB / 0.8232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007824/15.98, allocations: 7.533 MB / 5.914 GB, free: 9.465 MB / 0.8388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00634/15.99, allocations: 302.9 kB / 5.914 GB, free: 9.172 MB / 0.8388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008494/15.99, allocations: 112 kB / 5.914 GB, free: 9.062 MB / 0.8388 GB Warning: Assuming redundant initial conditions for the following 4 initial equations: zone4.dynBal.medium.p = zone4.dynBal.p_start zone3.dynBal.medium.p = zone3.dynBal.p_start zone1.dynBal.medium.p = zone1.dynBal.p_start zone2.dynBal.medium.p = zone2.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (266): * Single equations (assignments): 259 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001623/15.99, allocations: 192.9 kB / 5.915 GB, free: 8.867 MB / 0.8388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002108/15.99, allocations: 394.7 kB / 5.915 GB, free: 8.48 MB / 0.8388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009394/16, allocations: 2.666 MB / 5.918 GB, free: 5.793 MB / 0.8388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.637e-05/16, allocations: 27.98 kB / 5.918 GB, free: 5.766 MB / 0.8388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/16, allocations: 0 / 5.918 GB, free: 5.766 MB / 0.8388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004608/16, allocations: 2.167 MB / 5.92 GB, free: 3.547 MB / 0.8388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6112/16.62, allocations: 6.129 MB / 5.926 GB, free: 113.6 MB / 0.8388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/16.62, allocations: 7.594 kB / 5.926 GB, free: 113.6 MB / 0.8388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002195/16.62, allocations: 448.9 kB / 5.926 GB, free: 113.6 MB / 0.8388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006102/16.62, allocations: 234.5 kB / 5.926 GB, free: 113.5 MB / 0.8388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/16.62, allocations: 37.89 kB / 5.926 GB, free: 113.5 MB / 0.8388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002852/16.62, allocations: 4.538 MB / 5.931 GB, free: 109.6 MB / 0.8388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.308e-06/16.62, allocations: 9.312 kB / 5.931 GB, free: 109.6 MB / 0.8388 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00746/16.63, allocations: 5.027 MB / 5.936 GB, free: 107.8 MB / 0.8388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003409/16.63, allocations: 0.7202 MB / 5.936 GB, free: 107.7 MB / 0.8388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001251/16.63, allocations: 21.02 kB / 5.936 GB, free: 107.7 MB / 0.8388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004368/16.64, allocations: 243.8 kB / 5.937 GB, free: 107.7 MB / 0.8388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/16.64, allocations: 142.9 kB / 5.937 GB, free: 107.7 MB / 0.8388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002182/16.64, allocations: 100 kB / 5.937 GB, free: 107.7 MB / 0.8388 GB Notification: Performance of sort global known variables: time 0.003808/16.64, allocations: 2.104 MB / 5.939 GB, free: 107.5 MB / 0.8388 GB Notification: Performance of remove unused functions: time 0.0101/16.65, allocations: 2.236 MB / 5.941 GB, free: 107.5 MB / 0.8388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 8 (zone2.dynBal.U,zone2.dynBal.mXi[1],zone1.dynBal.U,zone1.dynBal.mXi[1],zone3.dynBal.U,zone3.dynBal.mXi[1],zone4.dynBal.U,zone4.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {2 9,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01167/16.66, allocations: 8.363 MB / 5.949 GB, free: 103.7 MB / 0.8388 GB Notification: Performance of simCode: created initialization part: time 0.007679/16.67, allocations: 4.288 MB / 5.953 GB, free: 102.9 MB / 0.8388 GB Notification: Performance of simCode: created event and clocks part: time 1.531e-05/16.67, allocations: 3.812 kB / 5.953 GB, free: 102.9 MB / 0.8388 GB Notification: Performance of simCode: created simulation system equations: time 0.002068/16.67, allocations: 1.284 MB / 5.955 GB, free: 102.7 MB / 0.8388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0108/16.68, allocations: 1.873 MB / 5.957 GB, free: 102.7 MB / 0.8388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01462/16.7, allocations: 6.157 MB / 5.963 GB, free: 101 MB / 0.8388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003316/16.7, allocations: 2.972 MB / 5.965 GB, free: 100.2 MB / 0.8388 GB Notification: Performance of SimCode: time 8.32e-07/16.7, allocations: 0 / 5.965 GB, free: 100.2 MB / 0.8388 GB Notification: Performance of Templates: time 0.2084/16.91, allocations: 120.6 MB / 6.083 GB, free: 94 MB / 0.8388 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.FlowControlled_dpSystem.pipe 2>&1)