Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Movers.Examples.PumpsParallel.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.PumpsParallel,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.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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.025/2.025, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001088/0.001088, allocations: 177.2 kB / 487 MB, free: 5.355 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.347/1.347, allocations: 221.3 MB / 0.7819 GB, free: 1.312 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.0009433/0.0009436, allocations: 101.8 kB / 0.9213 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.373e-06/7.403e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2772, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.312, allocations: 436 MB / 1.631 GB, free: 3.539 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/1.313, allocations: 85.39 kB / 1.631 GB, free: 3.5 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.789/4.101, allocations: 0.8748 GB / 2.506 GB, free: 66.24 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002279/4.102, allocations: 63.98 kB / 2.506 GB, free: 66.18 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004408/4.106, allocations: 2.281 MB / 2.508 GB, free: 63.84 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/4.106, allocations: 13.03 kB / 2.508 GB, free: 63.83 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003153/4.109, allocations: 0.6057 MB / 2.509 GB, free: 63.22 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03172/4.141, allocations: 14.85 MB / 2.523 GB, free: 48.16 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.083e-05/4.141, allocations: 51.94 kB / 2.523 GB, free: 48.11 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/4.141, allocations: 91.98 kB / 2.523 GB, free: 48.02 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001924/4.143, allocations: 1.098 MB / 2.524 GB, free: 46.92 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/4.145, allocations: 1.324 MB / 2.526 GB, free: 45.52 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.537e-05/4.145, allocations: 3.938 kB / 2.526 GB, free: 45.52 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/4.145, allocations: 7.844 kB / 2.526 GB, free: 45.51 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-05/4.145, allocations: 50.48 kB / 2.526 GB, free: 45.46 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009522/4.155, allocations: 7.681 MB / 2.533 GB, free: 37.23 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007957/4.156, allocations: 0.5814 MB / 2.534 GB, free: 36.64 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007372/4.157, allocations: 0.5683 MB / 2.534 GB, free: 36.07 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004101/4.161, allocations: 2.692 MB / 2.537 GB, free: 33.16 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/4.161, allocations: 47.28 kB / 2.537 GB, free: 33.11 MB / 1.151 GB Notification: Performance of pre-optimization done (n=90): time 2.394e-06/4.161, allocations: 0 / 2.537 GB, free: 33.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=90): time 0.002987/4.164, allocations: 1.321 MB / 2.538 GB, free: 31.78 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/4.164, allocations: 60.19 kB / 2.538 GB, free: 31.71 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/4.166, allocations: 1.44 MB / 2.54 GB, free: 30.24 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.354e-05/4.166, allocations: 29.7 kB / 2.54 GB, free: 30.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/4.166, allocations: 0.6059 MB / 2.541 GB, free: 29.58 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/4.166, allocations: 299.5 kB / 2.541 GB, free: 29.29 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.038e-05/4.166, allocations: 0 / 2.541 GB, free: 29.29 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.775e-05/4.166, allocations: 357.8 kB / 2.541 GB, free: 28.93 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/4.167, allocations: 422.5 kB / 2.542 GB, free: 28.52 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006758/4.168, allocations: 0.8583 MB / 2.542 GB, free: 27.45 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001639/4.169, allocations: 0.6297 MB / 2.543 GB, free: 26.82 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/4.169, allocations: 4 kB / 2.543 GB, free: 26.82 MB / 1.151 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003118/4.172, allocations: 1.576 MB / 2.545 GB, free: 25.23 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007413/4.173, allocations: 3.78 MB / 2.548 GB, free: 21.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/4.173, allocations: 8 kB / 2.548 GB, free: 21.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/4.174, allocations: 226.3 kB / 2.548 GB, free: 20.97 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/4.175, allocations: 295.5 kB / 2.549 GB, free: 20.68 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000923/4.176, allocations: 0.9509 MB / 2.55 GB, free: 19.71 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/4.178, allocations: 178.7 kB / 2.55 GB, free: 19.53 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/4.178, allocations: 83.89 kB / 2.55 GB, free: 19.45 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/4.178, allocations: 4 kB / 2.55 GB, free: 19.45 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002829/4.181, allocations: 1.295 MB / 2.551 GB, free: 18.15 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/4.181, allocations: 12.44 kB / 2.551 GB, free: 18.14 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/4.182, allocations: 227.1 kB / 2.551 GB, free: 17.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/4.183, allocations: 283.6 kB / 2.552 GB, free: 17.64 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005881/4.189, allocations: 3.829 MB / 2.555 GB, free: 13.62 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/4.191, allocations: 151 kB / 2.556 GB, free: 13.48 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/4.191, allocations: 71.97 kB / 2.556 GB, free: 13.41 MB / 1.151 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 (124): * Single equations (assignments): 121 * 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: 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.0004499/4.191, allocations: 137 kB / 2.556 GB, free: 13.27 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/4.192, allocations: 205.5 kB / 2.556 GB, free: 13.07 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003766/4.196, allocations: 1.621 MB / 2.558 GB, free: 11.43 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/4.196, allocations: 16 kB / 2.558 GB, free: 11.41 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/4.196, allocations: 7.891 kB / 2.558 GB, free: 11.41 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001984/4.198, allocations: 1.182 MB / 2.559 GB, free: 10.19 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006237/4.204, allocations: 3.137 MB / 2.562 GB, free: 6.957 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/4.204, allocations: 0 / 2.562 GB, free: 6.957 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/4.205, allocations: 195.8 kB / 2.562 GB, free: 6.766 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003394/4.205, allocations: 143.7 kB / 2.562 GB, free: 6.625 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.752e-05/4.205, allocations: 27.97 kB / 2.562 GB, free: 6.598 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000642/4.206, allocations: 0.7943 MB / 2.563 GB, free: 5.777 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/4.206, allocations: 3.938 kB / 2.563 GB, free: 5.773 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003071/4.209, allocations: 2.008 MB / 2.565 GB, free: 3.723 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009219/4.21, allocations: 414.1 kB / 2.565 GB, free: 3.297 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002549/4.21, allocations: 4 kB / 2.565 GB, free: 3.293 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/4.211, allocations: 95.75 kB / 2.565 GB, free: 3.199 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/4.212, allocations: 64.81 kB / 2.565 GB, free: 3.137 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.033e-05/4.212, allocations: 47.97 kB / 2.565 GB, free: 3.09 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001511/4.213, allocations: 1.084 MB / 2.567 GB, free: 1.988 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00376/4.217, allocations: 1.251 MB / 2.568 GB, free: 0.7344 MB / 1.151 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.s[1],floMac1.filter.s[2],floMac2.vol.dynBal.U,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 (90): * Single equations (assignments): 84 * 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.002631/4.22, allocations: 1.474 MB / 2.569 GB, free: 15.24 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003834/4.223, allocations: 1.978 MB / 2.571 GB, free: 13.26 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/4.223, allocations: 4 kB / 2.571 GB, free: 13.26 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/4.225, allocations: 0.5347 MB / 2.572 GB, free: 12.72 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/4.229, allocations: 0.7998 MB / 2.572 GB, free: 11.93 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006175/4.235, allocations: 2.821 MB / 2.575 GB, free: 9.047 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001941/4.237, allocations: 1.785 MB / 2.577 GB, free: 7.23 MB / 1.167 GB Notification: Performance of SimCode: time 1.132e-06/4.237, allocations: 0 / 2.577 GB, free: 7.23 MB / 1.167 GB Notification: Performance of Templates: time 0.6019/4.839, allocations: 51.43 MB / 2.627 GB, free: 322.5 MB / 1.182 GB make -j1 -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsParallel.makefile (rm -f Buildings_9_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe ; mkfifo Buildings_9_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe >> ../files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsParallel.sim & ./Buildings_9_Buildings.Fluid.Movers.Examples.PumpsParallel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Movers.Examples.PumpsParallel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Movers.Examples.PumpsParallel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Movers_Examples_PumpsParallel.csv","../files/Buildings_9_Buildings.Fluid.Movers.Examples.PumpsParallel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches