Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.142/2.142, allocations: 387.2 MB / 394.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 172.9 kB / 487 MB, free: 5.34 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 221.3 MB / 0.7819 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001032, allocations: 102.2 kB / 0.9213 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.814e-06/7.844e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2784, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.325, allocations: 434.2 MB / 1.629 GB, free: 5.684 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/1.326, allocations: 95.5 kB / 1.629 GB, free: 5.637 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.551/3.876, allocations: 0.686 GB / 2.315 GB, free: 238.3 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0002998/3.877, allocations: 49.7 kB / 2.315 GB, free: 238.3 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.00668/3.883, allocations: 1.887 MB / 2.317 GB, free: 237.3 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/3.883, allocations: 9.406 kB / 2.317 GB, free: 237.3 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005531/3.889, allocations: 0.7723 MB / 2.318 GB, free: 237.2 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03966/3.929, allocations: 14.39 MB / 2.332 GB, free: 231.6 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.262e-05/3.929, allocations: 31.75 kB / 2.332 GB, free: 231.6 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004114/3.929, allocations: 70.66 kB / 2.332 GB, free: 231.6 MB / 1.135 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002045/3.931, allocations: 0.8837 MB / 2.333 GB, free: 231.2 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/3.933, allocations: 1.072 MB / 2.334 GB, free: 230.6 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/3.933, allocations: 1.406 kB / 2.334 GB, free: 230.6 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.826e-05/3.933, allocations: 1.375 kB / 2.334 GB, free: 230.6 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.608e-05/3.933, allocations: 37.72 kB / 2.334 GB, free: 230.6 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/3.944, allocations: 5.696 MB / 2.34 GB, free: 225.9 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008935/3.945, allocations: 485.4 kB / 2.34 GB, free: 225.7 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006082/3.946, allocations: 383.4 kB / 2.34 GB, free: 225.5 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00465/3.95, allocations: 2.36 MB / 2.343 GB, free: 223.4 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/3.95, allocations: 38.12 kB / 2.343 GB, free: 223.4 MB / 1.135 GB Notification: Performance of pre-optimization done (n=66): time 2.785e-06/3.95, allocations: 0 / 2.343 GB, free: 223.4 MB / 1.135 GB Notification: Performance of matching and sorting (n=66): time 0.004664/3.955, allocations: 1.25 MB / 2.344 GB, free: 222.8 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/3.955, allocations: 59.06 kB / 2.344 GB, free: 222.7 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/3.958, allocations: 1.161 MB / 2.345 GB, free: 222.1 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001654/3.958, allocations: 27.42 kB / 2.345 GB, free: 222.1 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/3.958, allocations: 0.4904 MB / 2.346 GB, free: 221.6 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/3.958, allocations: 224.8 kB / 2.346 GB, free: 221.5 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.414e-05/3.958, allocations: 0 / 2.346 GB, free: 221.5 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 9.36e-05/3.959, allocations: 347.1 kB / 2.346 GB, free: 221.1 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006433/3.959, allocations: 357 kB / 2.347 GB, free: 221 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008097/3.96, allocations: 0.6889 MB / 2.347 GB, free: 220.3 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/3.962, allocations: 0.5652 MB / 2.348 GB, free: 220.1 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/3.962, allocations: 6.75 kB / 2.348 GB, free: 220.1 MB / 1.135 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003902/3.966, allocations: 1.385 MB / 2.349 GB, free: 219.4 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007338/3.967, allocations: 3.327 MB / 2.352 GB, free: 215.8 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/3.967, allocations: 8.312 kB / 2.352 GB, free: 215.8 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/3.968, allocations: 298.9 kB / 2.353 GB, free: 215.7 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/3.969, allocations: 243.7 kB / 2.353 GB, free: 215.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/3.97, allocations: 1.561 MB / 2.354 GB, free: 214.3 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/3.972, allocations: 144.1 kB / 2.355 GB, free: 214.2 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001669/3.973, allocations: 76.5 kB / 2.355 GB, free: 214.2 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/3.973, allocations: 7.5 kB / 2.355 GB, free: 214.2 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003104/3.976, allocations: 1.131 MB / 2.356 GB, free: 213.7 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/3.976, allocations: 11.78 kB / 2.356 GB, free: 213.7 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/3.977, allocations: 306.5 kB / 2.356 GB, free: 213.6 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/3.978, allocations: 236.6 kB / 2.356 GB, free: 213.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007105/3.985, allocations: 3.897 MB / 2.36 GB, free: 210.5 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002663/3.988, allocations: 120.6 kB / 2.36 GB, free: 210.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004892/3.988, allocations: 65.8 kB / 2.36 GB, free: 210.5 MB / 1.135 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 (95): * Single equations (assignments): 91 * 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: 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.0008188/3.989, allocations: 138.6 kB / 2.36 GB, free: 210.3 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009848/3.99, allocations: 153.6 kB / 2.361 GB, free: 210.3 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00498/3.995, allocations: 1.487 MB / 2.362 GB, free: 209.5 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/3.995, allocations: 15.33 kB / 2.362 GB, free: 209.5 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/3.995, allocations: 0 / 2.362 GB, free: 209.5 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/3.995, allocations: 4.797 kB / 2.362 GB, free: 209.5 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00738/4.002, allocations: 2.5 MB / 2.365 GB, free: 207.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/4.003, allocations: 1.219 kB / 2.365 GB, free: 207.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008626/4.003, allocations: 140.8 kB / 2.365 GB, free: 207.9 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006682/4.004, allocations: 238.4 kB / 2.365 GB, free: 207.8 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.382e-05/4.004, allocations: 22.81 kB / 2.365 GB, free: 207.7 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/4.006, allocations: 1.444 MB / 2.366 GB, free: 206.5 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/4.006, allocations: 0 / 2.366 GB, free: 206.5 MB / 1.135 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004335/4.01, allocations: 1.861 MB / 2.368 GB, free: 205.4 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/4.011, allocations: 340.5 kB / 2.368 GB, free: 205.1 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007229/4.012, allocations: 11.77 kB / 2.368 GB, free: 205.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001868/4.014, allocations: 92.34 kB / 2.369 GB, free: 205.1 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/4.014, allocations: 45.44 kB / 2.369 GB, free: 205.1 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/4.014, allocations: 40.2 kB / 2.369 GB, free: 205.1 MB / 1.135 GB Notification: Performance of sort global known variables: time 0.002688/4.017, allocations: 0.8847 MB / 2.37 GB, free: 204.6 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.006642/4.024, allocations: 0.9819 MB / 2.37 GB, free: 204.3 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (floMac1.filter.s[1],floMac1.filter.s[2],floMac2.filter.s[1],floMac2.filter.s[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 54 * 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.003945/4.028, allocations: 1.26 MB / 2.372 GB, free: 203.9 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.004761/4.032, allocations: 1.663 MB / 2.373 GB, free: 203.1 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/4.032, allocations: 4.906 kB / 2.373 GB, free: 203.1 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.001214/4.034, allocations: 464.1 kB / 2.374 GB, free: 202.9 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004761/4.038, allocations: 0.6106 MB / 2.374 GB, free: 202.7 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007721/4.046, allocations: 2.228 MB / 2.377 GB, free: 200.7 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002042/4.048, allocations: 1.549 MB / 2.378 GB, free: 199.1 MB / 1.135 GB Notification: Performance of SimCode: time 1.302e-06/4.048, allocations: 0 / 2.378 GB, free: 199.1 MB / 1.135 GB Notification: Performance of Templates: time 0.07059/4.119, allocations: 43.06 MB / 2.42 GB, free: 157.9 MB / 1.135 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_PumpsSeries.csv","../files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches