Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.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.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senPPMTwoPort.ppm|senPPMNoRev.ppm|senPPMVol.ppm|senPPMRev.ppm|senPPMSta.ppm|senPPMIn.ppm|senPPMVol2.ppm",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senPPMTwoPort.ppm|senPPMNoRev.ppm|senPPMVol.ppm|senPPMRev.ppm|senPPMSta.ppm|senPPMIn.ppm|senPPMVol2.ppm",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.PPM") [: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.159/2.159, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.001237/0.001237, allocations: 176.7 kB / 487 MB, free: 5.41 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.453/1.453, allocations: 221.3 MB / 0.7819 GB, free: 1.41 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.001055/0.001055, allocations: 95.75 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.586e-06/8.616e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2951, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.522/4.817, allocations: 1.938 GB / 3.143 GB, free: 370.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/4.817, allocations: 91.89 kB / 3.143 GB, free: 370.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 4.699/9.516, allocations: 1.301 GB / 4.444 GB, free: 207.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001475/9.517, allocations: 48.77 kB / 4.444 GB, free: 207.3 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.004385/9.521, allocations: 1.825 MB / 4.446 GB, free: 206.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/9.521, allocations: 10.78 kB / 4.446 GB, free: 206.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/9.524, allocations: 420.3 kB / 4.446 GB, free: 206.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/9.526, allocations: 1.171 MB / 4.447 GB, free: 206.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.732e-05/9.526, allocations: 44.47 kB / 4.447 GB, free: 206.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/9.526, allocations: 79.81 kB / 4.447 GB, free: 206.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001964/9.528, allocations: 1.148 MB / 4.449 GB, free: 206.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001962/9.53, allocations: 1.343 MB / 4.45 GB, free: 206.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/9.53, allocations: 0 / 4.45 GB, free: 206.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/9.53, allocations: 3.281 kB / 4.45 GB, free: 206.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.324e-05/9.53, allocations: 51.02 kB / 4.45 GB, free: 206.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007495/9.538, allocations: 6.596 MB / 4.456 GB, free: 202.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/9.539, allocations: 0.864 MB / 4.457 GB, free: 202.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000547/9.54, allocations: 450.5 kB / 4.458 GB, free: 202.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000651/9.54, allocations: 414.8 kB / 4.458 GB, free: 202.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/9.54, allocations: 44.66 kB / 4.458 GB, free: 202.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=82): time 3.437e-06/9.54, allocations: 0 / 4.458 GB, free: 202.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=84): time 0.005827/9.546, allocations: 2.606 MB / 4.461 GB, free: 201.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/9.546, allocations: 62.69 kB / 4.461 GB, free: 201.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009047/9.547, allocations: 0.7176 MB / 4.461 GB, free: 201.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.201e-05/9.547, allocations: 32.2 kB / 4.461 GB, free: 201.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/9.547, allocations: 0.5229 MB / 4.462 GB, free: 201.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/9.548, allocations: 283.2 kB / 4.462 GB, free: 201.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/9.548, allocations: 0 / 4.462 GB, free: 201.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/9.548, allocations: 350.7 kB / 4.462 GB, free: 200.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/9.548, allocations: 350.5 kB / 4.463 GB, free: 200.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006837/9.549, allocations: 0.7004 MB / 4.464 GB, free: 200.3 MB / 1.167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002745/9.552, allocations: 1.2 MB / 4.465 GB, free: 200.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/9.552, allocations: 2.906 kB / 4.465 GB, free: 200.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002195/9.554, allocations: 1.335 MB / 4.466 GB, free: 200.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/9.554, allocations: 7.312 kB / 4.466 GB, free: 200.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/9.554, allocations: 11.12 kB / 4.466 GB, free: 200.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003816/9.554, allocations: 144.3 kB / 4.466 GB, free: 200.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000787/9.555, allocations: 211.2 kB / 4.466 GB, free: 200.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003076/9.558, allocations: 4.536 MB / 4.471 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/9.56, allocations: 87.34 kB / 4.471 GB, free: 196.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/9.56, allocations: 53.45 kB / 4.471 GB, free: 196.3 MB / 1.167 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start 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 (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002447/9.56, allocations: 135 kB / 4.471 GB, free: 196.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/9.56, allocations: 117.8 kB / 4.471 GB, free: 196.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002226/9.563, allocations: 1.171 MB / 4.472 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/9.563, allocations: 11.16 kB / 4.472 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/9.563, allocations: 0 / 4.472 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001622/9.564, allocations: 1.164 MB / 4.473 GB, free: 195.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005472/9.57, allocations: 3.014 MB / 4.476 GB, free: 194.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/9.57, allocations: 6.781 kB / 4.476 GB, free: 194.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007399/9.571, allocations: 156.9 kB / 4.477 GB, free: 194.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003419/9.571, allocations: 132.8 kB / 4.477 GB, free: 194.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/9.571, allocations: 21.45 kB / 4.477 GB, free: 194.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002953/9.574, allocations: 4.54 MB / 4.481 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.085e-06/9.574, allocations: 11.66 kB / 4.481 GB, free: 191.1 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0029/9.577, allocations: 2.093 MB / 4.483 GB, free: 190.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007134/9.578, allocations: 285.3 kB / 4.483 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/9.578, allocations: 11.62 kB / 4.483 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009358/9.579, allocations: 60.06 kB / 4.484 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/9.579, allocations: 62.69 kB / 4.484 GB, free: 190.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.538e-05/9.579, allocations: 35.81 kB / 4.484 GB, free: 190.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0008745/9.58, allocations: 0.5363 MB / 4.484 GB, free: 190 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002748/9.583, allocations: 0.5408 MB / 4.485 GB, free: 190 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003971/9.587, allocations: 2.719 MB / 4.487 GB, free: 189.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001899/9.588, allocations: 1.167 MB / 4.488 GB, free: 188.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/9.588, allocations: 0 / 4.488 GB, free: 188.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007662/9.589, allocations: 0.7181 MB / 4.489 GB, free: 188.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/9.592, allocations: 0.5711 MB / 4.49 GB, free: 188.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004369/9.597, allocations: 2.202 MB / 4.492 GB, free: 187.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001245/9.598, allocations: 1.484 MB / 4.493 GB, free: 187.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.313e-06/9.598, allocations: 0 / 4.493 GB, free: 187.1 MB / 1.167 GB Notification: Performance of Templates: time 0.06546/9.663, allocations: 36.44 MB / 4.529 GB, free: 186.3 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.PPM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_PPM.csv","../files/Buildings_9_Buildings.Fluid.Sensors.Examples.PPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches