Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Examples.PumpsParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel") translateModel(Buildings.Fluid.Movers.Examples.PumpsParallel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|floMac1.y|floMac1.dp|floMac2.dp|floMac1.m_flow|floMac2.m_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel") [: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 7.0.3-maint.7.0.x/package.mo): time 1.205/1.205, allocations: 249.4 MB / 256.7 MB, free: 6.902 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009835/0.0009835, allocations: 181.2 kB / 316 MB, free: 3.586 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.028/1.028, allocations: 205.1 MB / 0.5667 GB, free: 15.65 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008872/0.0008872, allocations: 86.27 kB / 0.671 GB, free: 4.785 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.152e-06/6.172e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1411, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8792/1.02, allocations: 431 MB / 1.305 GB, free: 316.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/1.021, allocations: 90.64 kB / 1.306 GB, free: 316.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.979/2.999, allocations: 0.8406 GB / 2.146 GB, free: 110.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000222/3, allocations: 69.73 kB / 2.146 GB, free: 110.9 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004165/3.004, allocations: 2.35 MB / 2.149 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/3.004, allocations: 8.781 kB / 2.149 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001857/3.006, allocations: 434.5 kB / 2.149 GB, free: 109 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03143/3.037, allocations: 14.24 MB / 2.163 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/3.037, allocations: 41.41 kB / 2.163 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002583/3.038, allocations: 88.75 kB / 2.163 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002032/3.04, allocations: 1.084 MB / 2.164 GB, free: 99.99 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/3.042, allocations: 1.357 MB / 2.165 GB, free: 98.87 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/3.042, allocations: 3.938 kB / 2.165 GB, free: 98.87 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/3.042, allocations: 4 kB / 2.165 GB, free: 98.86 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.304e-05/3.042, allocations: 35.98 kB / 2.165 GB, free: 98.83 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007688/3.049, allocations: 7.552 MB / 2.173 GB, free: 90.88 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/3.051, allocations: 0.9492 MB / 2.174 GB, free: 89.94 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/3.051, allocations: 0.5475 MB / 2.174 GB, free: 89.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003088/3.054, allocations: 2.535 MB / 2.177 GB, free: 86.68 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/3.055, allocations: 43.34 kB / 2.177 GB, free: 86.62 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=87): time 2.094e-06/3.055, allocations: 0 / 2.177 GB, free: 86.62 MB / 0.8698 GB Notification: Performance of matching and sorting (n=87): time 0.002576/3.057, allocations: 1.294 MB / 2.178 GB, free: 85.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/3.057, allocations: 218.4 kB / 2.178 GB, free: 85.06 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/3.059, allocations: 1.46 MB / 2.18 GB, free: 83.58 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.004e-05/3.059, allocations: 29.7 kB / 2.18 GB, free: 83.54 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/3.059, allocations: 0.626 MB / 2.18 GB, free: 82.89 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/3.059, allocations: 299.5 kB / 2.181 GB, free: 82.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/3.059, allocations: 0 / 2.181 GB, free: 82.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.765e-05/3.059, allocations: 357.9 kB / 2.181 GB, free: 82.24 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005201/3.06, allocations: 433.2 kB / 2.181 GB, free: 81.82 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006541/3.061, allocations: 0.9004 MB / 2.182 GB, free: 80.72 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/3.062, allocations: 0.6672 MB / 2.183 GB, free: 80.07 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/3.062, allocations: 4 kB / 2.183 GB, free: 80.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002886/3.065, allocations: 1.621 MB / 2.185 GB, free: 78.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005635/3.066, allocations: 3.777 MB / 2.188 GB, free: 74.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/3.066, allocations: 15.98 kB / 2.188 GB, free: 74.28 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005297/3.066, allocations: 229.5 kB / 2.188 GB, free: 74.06 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/3.067, allocations: 270.1 kB / 2.189 GB, free: 73.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008897/3.068, allocations: 0.9534 MB / 2.19 GB, free: 72.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/3.07, allocations: 160.9 kB / 2.19 GB, free: 72.67 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/3.07, allocations: 87.94 kB / 2.19 GB, free: 72.58 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.551e-06/3.07, allocations: 7.062 kB / 2.19 GB, free: 72.58 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002721/3.073, allocations: 1.333 MB / 2.191 GB, free: 71.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/3.073, allocations: 19.92 kB / 2.191 GB, free: 71.24 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005944/3.073, allocations: 234.7 kB / 2.191 GB, free: 71.01 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009085/3.074, allocations: 262.4 kB / 2.192 GB, free: 70.76 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00569/3.08, allocations: 3.825 MB / 2.195 GB, free: 66.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/3.081, allocations: 130.3 kB / 2.196 GB, free: 66.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/3.081, allocations: 82.33 kB / 2.196 GB, free: 66.63 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 119 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002451/3.082, allocations: 136.9 kB / 2.196 GB, free: 66.49 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/3.082, allocations: 209.3 kB / 2.196 GB, free: 66.28 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002966/3.085, allocations: 1.584 MB / 2.197 GB, free: 64.73 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/3.085, allocations: 8 kB / 2.197 GB, free: 64.72 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/3.085, allocations: 2.781 kB / 2.197 GB, free: 64.72 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001768/3.087, allocations: 1.16 MB / 2.199 GB, free: 63.54 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004195/3.091, allocations: 3.007 MB / 2.202 GB, free: 60.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/3.091, allocations: 3.562 kB / 2.202 GB, free: 60.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008142/3.092, allocations: 171.3 kB / 2.202 GB, free: 60.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002842/3.092, allocations: 136.6 kB / 2.202 GB, free: 60.18 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.226e-05/3.092, allocations: 27.97 kB / 2.202 GB, free: 60.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005226/3.093, allocations: 0.8039 MB / 2.203 GB, free: 59.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/3.093, allocations: 2.75 kB / 2.203 GB, free: 59.33 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002526/3.095, allocations: 1.946 MB / 2.205 GB, free: 57.35 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006712/3.096, allocations: 398.2 kB / 2.205 GB, free: 56.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002608/3.096, allocations: 11.98 kB / 2.205 GB, free: 56.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009462/3.097, allocations: 84.36 kB / 2.205 GB, free: 56.86 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.744e-05/3.097, allocations: 52.91 kB / 2.205 GB, free: 56.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.736e-05/3.097, allocations: 47.97 kB / 2.205 GB, free: 56.76 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001268/3.098, allocations: 1.097 MB / 2.206 GB, free: 55.64 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003399/3.102, allocations: 1.304 MB / 2.207 GB, free: 54.34 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (floMac1.vol.dynBal.U,floMac1.filter.x[1],floMac1.filter.x[2],floMac2.vol.dynBal.U,floMac2.filter.x[1],floMac2.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.00197/3.104, allocations: 1.529 MB / 2.209 GB, free: 53.04 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002754/3.107, allocations: 2.111 MB / 2.211 GB, free: 50.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/3.107, allocations: 3.75 kB / 2.211 GB, free: 50.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006199/3.107, allocations: 0.5133 MB / 2.212 GB, free: 50.39 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/3.11, allocations: 0.8347 MB / 2.212 GB, free: 49.58 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/3.115, allocations: 2.841 MB / 2.215 GB, free: 46.71 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/3.116, allocations: 1.8 MB / 2.217 GB, free: 44.88 MB / 0.8698 GB Notification: Performance of SimCode: time 4.41e-07/3.116, allocations: 0 / 2.217 GB, free: 44.88 MB / 0.8698 GB Notification: Performance of Templates: time 0.06783/3.184, allocations: 52.12 MB / 2.268 GB, free: 9.52 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Examples_PumpsParallel.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches