Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.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.PumpsSeries,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.PumpsSeries") translateModel(Buildings.Fluid.Movers.Examples.PumpsSeries,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.PumpsSeries") [: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.215/1.215, allocations: 249.4 MB / 256.7 MB, free: 7.043 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.001004/0.001004, allocations: 189.2 kB / 316 MB, free: 3.527 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.107/1.107, allocations: 205.1 MB / 0.5667 GB, free: 15.59 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.0008792/0.0008791, allocations: 85.62 kB / 0.671 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.072e-06/6.092e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.137, allocations: 106.3 MB / 0.8846 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8941/1.031, allocations: 429.3 MB / 1.304 GB, free: 317.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001676/1.031, allocations: 90.58 kB / 1.304 GB, free: 317.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.67/2.702, allocations: 0.666 GB / 1.97 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001678/2.702, allocations: 52.52 kB / 1.97 GB, free: 155.7 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002898/2.705, allocations: 1.947 MB / 1.972 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/2.705, allocations: 10.12 kB / 1.972 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002679/2.707, allocations: 0.5823 MB / 1.972 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02698/2.734, allocations: 13.8 MB / 1.986 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/2.734, allocations: 36.66 kB / 1.986 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001579/2.735, allocations: 71.56 kB / 1.986 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0014/2.736, allocations: 0.8649 MB / 1.987 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/2.737, allocations: 1.115 MB / 1.988 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/2.737, allocations: 0 / 1.988 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.56e-05/2.738, allocations: 3.75 kB / 1.988 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/2.738, allocations: 25.03 kB / 1.988 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006689/2.744, allocations: 5.527 MB / 1.993 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/2.745, allocations: 0.8087 MB / 1.994 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/2.746, allocations: 377.8 kB / 1.994 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002524/2.748, allocations: 2.19 MB / 1.997 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/2.748, allocations: 40.16 kB / 1.997 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=62): time 1.834e-06/2.748, allocations: 0 / 1.997 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62): time 0.003323/2.752, allocations: 1.178 MB / 1.998 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/2.752, allocations: 217.9 kB / 1.998 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/2.753, allocations: 1.193 MB / 1.999 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/2.753, allocations: 28.86 kB / 1.999 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/2.753, allocations: 0.5093 MB / 2 GB, free: 149 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/2.753, allocations: 213.4 kB / 2 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/2.754, allocations: 0 / 2 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.126e-05/2.754, allocations: 346.4 kB / 2 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/2.754, allocations: 369.2 kB / 2.001 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005798/2.755, allocations: 0.7367 MB / 2.001 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/2.756, allocations: 0.5722 MB / 2.002 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/2.756, allocations: 2.812 kB / 2.002 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002767/2.759, allocations: 1.413 MB / 2.003 GB, free: 148 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004922/2.76, allocations: 3.336 MB / 2.007 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/2.76, allocations: 10.22 kB / 2.007 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008069/2.76, allocations: 296.8 kB / 2.007 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/2.761, allocations: 204.3 kB / 2.007 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/2.762, allocations: 1.564 MB / 2.009 GB, free: 143.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/2.764, allocations: 130.2 kB / 2.009 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/2.764, allocations: 71.97 kB / 2.009 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.502e-06/2.764, allocations: 3.938 kB / 2.009 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002557/2.766, allocations: 1.154 MB / 2.01 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/2.766, allocations: 14.42 kB / 2.01 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008675/2.767, allocations: 306.3 kB / 2.01 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006522/2.768, allocations: 186.6 kB / 2.01 GB, free: 143.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00543/2.773, allocations: 3.899 MB / 2.014 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/2.774, allocations: 103.6 kB / 2.014 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/2.774, allocations: 65.55 kB / 2.014 GB, free: 141.1 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMac1.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real floMac2.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: 37 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002765/2.775, allocations: 145.1 kB / 2.014 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/2.775, allocations: 162.5 kB / 2.015 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0032/2.778, allocations: 1.424 MB / 2.016 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/2.778, allocations: 10.5 kB / 2.016 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/2.778, allocations: 1.594 kB / 2.016 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/2.778, allocations: 3.609 kB / 2.016 GB, free: 140.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003575/2.782, allocations: 2.344 MB / 2.018 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/2.782, allocations: 6.906 kB / 2.018 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000585/2.782, allocations: 113.3 kB / 2.018 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005372/2.783, allocations: 233 kB / 2.019 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.618e-05/2.783, allocations: 12.83 kB / 2.019 GB, free: 140.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009606/2.784, allocations: 1.449 MB / 2.02 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/2.784, allocations: 2.969 kB / 2.02 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002398/2.786, allocations: 1.735 MB / 2.022 GB, free: 139 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004416/2.787, allocations: 335.4 kB / 2.022 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/2.787, allocations: 6.656 kB / 2.022 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008617/2.788, allocations: 70.2 kB / 2.022 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/2.788, allocations: 42.8 kB / 2.022 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.309e-05/2.788, allocations: 46.89 kB / 2.022 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0009486/2.789, allocations: 0.8985 MB / 2.023 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002525/2.791, allocations: 0.9994 MB / 2.024 GB, free: 138.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.x[1],floMac1.filter.x[2],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 (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 9,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001623/2.793, allocations: 1.317 MB / 2.025 GB, free: 138.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002413/2.796, allocations: 1.797 MB / 2.027 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/2.796, allocations: 0 / 2.027 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006104/2.796, allocations: 435.2 kB / 2.028 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/2.798, allocations: 0.6408 MB / 2.028 GB, free: 137.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/2.802, allocations: 2.247 MB / 2.03 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009526/2.803, allocations: 1.556 MB / 2.032 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.042e-06/2.803, allocations: 0 / 2.032 GB, free: 136.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.05316/2.856, allocations: 43.33 MB / 2.074 GB, free: 134.5 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches