Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.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.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine") [: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.7808/0.7808, allocations: 141.8 MB / 149.1 MB, free: 1.145 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 184 kB / 181.9 MB, free: 13.26 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.476/1.476, allocations: 221.3 MB / 436 MB, free: 6.172 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.001313/0.001313, allocations: 101.2 kB / 0.507 GB, free: 18.97 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001878/0.001878, allocations: 275 kB / 0.5884 GB, free: 7.199 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.388e-06/9.398e-06, allocations: 2.781 kB / 0.6759 GB, free: 140.1 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1911, allocations: 82.77 MB / 0.7567 GB, free: 89.51 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.047/4.238, allocations: 1.91 GB / 2.666 GB, free: 109.4 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/4.238, allocations: 89.45 kB / 2.666 GB, free: 109.3 MB / 0.6982 GB Notification: Performance of FrontEnd: time 17.33/21.57, allocations: 4.379 GB / 7.045 GB, free: 40.48 MB / 0.8544 GB Notification: Performance of Transformations before backend: time 0.001537/21.57, allocations: 142.1 kB / 7.045 GB, free: 40.46 MB / 0.8544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.02723/21.59, allocations: 5.686 MB / 7.051 GB, free: 37.64 MB / 0.8544 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/21.59, allocations: 11.16 kB / 7.051 GB, free: 37.64 MB / 0.8544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01412/21.61, allocations: 1.537 MB / 7.052 GB, free: 37.29 MB / 0.8544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03563/21.64, allocations: 11.05 MB / 7.063 GB, free: 36.14 MB / 0.8544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002631/21.64, allocations: 95.78 kB / 7.063 GB, free: 36.14 MB / 0.8544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001851/21.65, allocations: 208 kB / 7.063 GB, free: 36.14 MB / 0.8544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009867/21.66, allocations: 3.495 MB / 7.067 GB, free: 36.12 MB / 0.8544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01299/21.67, allocations: 3.631 MB / 7.07 GB, free: 35.77 MB / 0.8544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001674/21.67, allocations: 9.219 kB / 7.07 GB, free: 35.77 MB / 0.8544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00109/21.67, allocations: 4.719 kB / 7.07 GB, free: 35.77 MB / 0.8544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/21.67, allocations: 105 kB / 7.07 GB, free: 35.77 MB / 0.8544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04608/21.72, allocations: 19.85 MB / 7.09 GB, free: 27.55 MB / 0.8544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005962/21.72, allocations: 3.123 MB / 7.093 GB, free: 27.48 MB / 0.8544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003194/21.73, allocations: 1.8 MB / 7.095 GB, free: 27.46 MB / 0.8544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007201/21.73, allocations: 0.5512 MB / 7.095 GB, free: 26.9 MB / 0.8544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003388/21.73, allocations: 1.722 MB / 7.097 GB, free: 26.82 MB / 0.8544 GB Notification: Performance of pre-optimization done (n=180): time 4.739e-06/21.73, allocations: 0 / 7.097 GB, free: 26.82 MB / 0.8544 GB Notification: Performance of matching and sorting (n=180): time 0.01204/21.74, allocations: 3.814 MB / 7.1 GB, free: 26.45 MB / 0.8544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/21.74, allocations: 70.66 kB / 7.101 GB, free: 26.38 MB / 0.8544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0185/21.76, allocations: 5.826 MB / 7.106 GB, free: 26 MB / 0.8544 GB Notification: Performance of collectPreVariables (initialization): time 0.0012/21.76, allocations: 31.7 kB / 7.106 GB, free: 25.97 MB / 0.8544 GB Notification: Performance of collectInitialEqns (initialization): time 0.002773/21.77, allocations: 1.442 MB / 7.108 GB, free: 25.33 MB / 0.8544 GB Notification: Performance of collectInitialBindings (initialization): time 0.002055/21.77, allocations: 0.5992 MB / 7.108 GB, free: 24.93 MB / 0.8544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/21.77, allocations: 0 / 7.108 GB, free: 24.93 MB / 0.8544 GB Notification: Performance of setup shared object (initialization): time 0.0002427/21.77, allocations: 427.6 kB / 7.109 GB, free: 24.62 MB / 0.8544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/21.77, allocations: 1.5 MB / 7.11 GB, free: 24.61 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002918/21.77, allocations: 2.715 MB / 7.113 GB, free: 23.12 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003619/21.78, allocations: 1.936 MB / 7.115 GB, free: 23.09 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-05/21.78, allocations: 9.375 kB / 7.115 GB, free: 23.09 MB / 0.8544 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.009552/21.79, allocations: 4.796 MB / 7.119 GB, free: 22.71 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 0.004087/21.79, allocations: 14.87 MB / 7.134 GB, free: 23.5 MB / 0.87 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.538e-05/21.79, allocations: 30.59 kB / 7.134 GB, free: 23.5 MB / 0.87 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/21.79, allocations: 453.5 kB / 7.134 GB, free: 23.48 MB / 0.87 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004129/21.8, allocations: 0.663 MB / 7.135 GB, free: 23.48 MB / 0.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004932/21.8, allocations: 4.571 MB / 7.139 GB, free: 20.68 MB / 0.87 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007204/21.81, allocations: 436.6 kB / 7.14 GB, free: 20.52 MB / 0.87 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/21.81, allocations: 255.3 kB / 7.14 GB, free: 20.52 MB / 0.87 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/21.81, allocations: 6.062 kB / 7.14 GB, free: 20.52 MB / 0.87 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01121/21.82, allocations: 3.746 MB / 7.144 GB, free: 20.32 MB / 0.87 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001925/21.82, allocations: 28.34 kB / 7.144 GB, free: 20.32 MB / 0.87 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/21.82, allocations: 0.5476 MB / 7.144 GB, free: 20.31 MB / 0.87 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003348/21.83, allocations: 0.6638 MB / 7.145 GB, free: 20.27 MB / 0.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/21.84, allocations: 7.214 MB / 7.152 GB, free: 16.6 MB / 0.87 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007568/21.85, allocations: 369.5 kB / 7.152 GB, free: 16.49 MB / 0.87 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001176/21.85, allocations: 228.8 kB / 7.153 GB, free: 16.47 MB / 0.87 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (324): * Single equations (assignments): 314 * Array equations: 4 * Algorithm blocks: 1 * 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: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.001962/21.85, allocations: 202 kB / 7.153 GB, free: 16.29 MB / 0.87 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002429/21.85, allocations: 0.4997 MB / 7.153 GB, free: 16.02 MB / 0.87 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00978/21.86, allocations: 3.046 MB / 7.156 GB, free: 14.97 MB / 0.87 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/21.86, allocations: 20.5 kB / 7.156 GB, free: 14.97 MB / 0.87 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.881e-05/21.86, allocations: 3.906 kB / 7.156 GB, free: 14.96 MB / 0.87 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005211/21.87, allocations: 2.526 MB / 7.159 GB, free: 13.79 MB / 0.87 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02315/21.89, allocations: 7.662 MB / 7.166 GB, free: 10.55 MB / 0.87 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/21.89, allocations: 8.094 kB / 7.166 GB, free: 10.55 MB / 0.87 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00277/21.89, allocations: 493.2 kB / 7.167 GB, free: 10.52 MB / 0.87 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004389/21.89, allocations: 173.4 kB / 7.167 GB, free: 10.46 MB / 0.87 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003307/21.89, allocations: 38.62 kB / 7.167 GB, free: 10.46 MB / 0.87 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002942/21.9, allocations: 3.389 MB / 7.17 GB, free: 7.43 MB / 0.87 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.367e-06/21.9, allocations: 3.625 kB / 7.17 GB, free: 7.43 MB / 0.87 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008738/21.91, allocations: 4.606 MB / 7.175 GB, free: 5.188 MB / 0.87 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004738/21.91, allocations: 1.16 MB / 7.176 GB, free: 4.461 MB / 0.87 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002566/21.91, allocations: 14.53 kB / 7.176 GB, free: 4.453 MB / 0.87 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005338/21.92, allocations: 232 kB / 7.176 GB, free: 4.434 MB / 0.87 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/21.92, allocations: 114.3 kB / 7.176 GB, free: 4.418 MB / 0.87 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002998/21.92, allocations: 96.31 kB / 7.176 GB, free: 4.398 MB / 0.87 GB Notification: Performance of sort global known variables: time 0.01191/21.93, allocations: 4.35 MB / 7.181 GB, free: 2.574 MB / 0.87 GB Notification: Performance of remove unused functions: time 0.01933/21.95, allocations: 3.102 MB / 7.184 GB, free: 0.8516 MB / 0.87 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 14 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.s[1],fan1.filter.s[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 172 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02146/21.97, allocations: 11.34 MB / 7.195 GB, free: 6.812 MB / 0.8857 GB Notification: Performance of simCode: created initialization part: time 0.01664/21.99, allocations: 5.918 MB / 7.2 GB, free: 1.301 MB / 0.8857 GB Notification: Performance of simCode: created event and clocks part: time 1.611e-05/21.99, allocations: 0 / 7.2 GB, free: 1.301 MB / 0.8857 GB Notification: Performance of simCode: created simulation system equations: time 0.004038/21.99, allocations: 1.201 MB / 7.202 GB, free: 200 kB / 0.8857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.6316/22.62, allocations: 2.767 MB / 7.204 GB, free: 110.6 MB / 0.8857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02566/22.65, allocations: 8.417 MB / 7.213 GB, free: 108.8 MB / 0.8857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007805/22.66, allocations: 3.868 MB / 7.216 GB, free: 108 MB / 0.8857 GB Notification: Performance of SimCode: time 1.132e-06/22.66, allocations: 3.844 kB / 7.216 GB, free: 108 MB / 0.8857 GB Notification: Performance of Templates: time 0.3091/22.97, allocations: 170.2 MB / 7.383 GB, free: 98.75 MB / 0.8857 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)