Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure") [: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 1.6.0+build.1/package.mo): time 0.5152/0.5152, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001131/0.001131, allocations: 180.2 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.437/1.437, allocations: 170.5 MB / 319 MB, free: 9.355 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001661/0.001661, allocations: 108.2 kB / 381 MB, free: 18.16 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.004e-05/1.007e-05, allocations: 4 kB / 448.6 MB, free: 2.141 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1649, allocations: 61.52 MB / 0.4981 GB, free: 4.531 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.25/12.42, allocations: 5.247 GB / 5.745 GB, free: 57.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/12.42, allocations: 90.23 kB / 5.745 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.229/13.64, allocations: 324.7 MB / 6.062 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.405e-05/13.64, allocations: 12.22 kB / 6.062 GB, free: 101.3 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.002419/13.65, allocations: 0.7678 MB / 6.063 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/13.65, allocations: 8.75 kB / 6.063 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006595/13.65, allocations: 61.98 kB / 6.063 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/13.65, allocations: 0.5037 MB / 6.064 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/13.65, allocations: 12.22 kB / 6.064 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-05/13.65, allocations: 21.62 kB / 6.064 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008692/13.65, allocations: 372.8 kB / 6.064 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008988/13.65, allocations: 421.6 kB / 6.064 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/13.65, allocations: 5.219 kB / 6.064 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/13.65, allocations: 8.812 kB / 6.064 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/13.65, allocations: 10.06 kB / 6.064 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/13.65, allocations: 2.013 MB / 6.066 GB, free: 99.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/13.66, allocations: 114.5 kB / 6.066 GB, free: 99.19 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/13.66, allocations: 55.8 kB / 6.066 GB, free: 99.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/13.66, allocations: 96.06 kB / 6.067 GB, free: 99.07 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/13.66, allocations: 32.94 kB / 6.067 GB, free: 99.03 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 1.833e-06/13.66, allocations: 0 / 6.067 GB, free: 99.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12): time 0.0006901/13.66, allocations: 175.3 kB / 6.067 GB, free: 98.95 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/13.66, allocations: 61.31 kB / 6.067 GB, free: 98.88 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/13.66, allocations: 370 kB / 6.067 GB, free: 98.69 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/13.66, allocations: 26.86 kB / 6.067 GB, free: 98.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/13.66, allocations: 264.1 kB / 6.067 GB, free: 98.44 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/13.66, allocations: 46.19 kB / 6.068 GB, free: 98.41 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/13.66, allocations: 0 / 6.068 GB, free: 98.41 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.448e-05/13.66, allocations: 342.3 kB / 6.068 GB, free: 98.08 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/13.66, allocations: 95.31 kB / 6.068 GB, free: 98.05 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002419/13.66, allocations: 233.7 kB / 6.068 GB, free: 97.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006174/13.66, allocations: 186.4 kB / 6.068 GB, free: 97.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/13.66, allocations: 7.234 kB / 6.068 GB, free: 97.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001016/13.66, allocations: 426.4 kB / 6.069 GB, free: 97.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000429/13.66, allocations: 1.737 MB / 6.07 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/13.66, allocations: 5.094 kB / 6.07 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/13.66, allocations: 10.88 kB / 6.07 GB, free: 95.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/13.66, allocations: 86.31 kB / 6.071 GB, free: 95.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/13.66, allocations: 5.906 kB / 6.071 GB, free: 95.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005523/13.66, allocations: 60.64 kB / 6.071 GB, free: 95.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.77e-05/13.66, allocations: 18.44 kB / 6.071 GB, free: 95.76 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/13.66, allocations: 5 kB / 6.071 GB, free: 95.76 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007679/13.66, allocations: 341.7 kB / 6.071 GB, free: 95.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/13.66, allocations: 4.219 kB / 6.071 GB, free: 95.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/13.66, allocations: 11.77 kB / 6.071 GB, free: 95.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003688/13.66, allocations: 86.86 kB / 6.071 GB, free: 95.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/13.66, allocations: 6.281 kB / 6.071 GB, free: 95.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/13.66, allocations: 39.12 kB / 6.071 GB, free: 95.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/13.66, allocations: 18.34 kB / 6.071 GB, free: 95.64 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001345/13.66, allocations: 119.5 kB / 6.071 GB, free: 95.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/13.66, allocations: 41.59 kB / 6.071 GB, free: 95.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/13.66, allocations: 218 kB / 6.071 GB, free: 95.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/13.66, allocations: 2 kB / 6.071 GB, free: 95.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/13.66, allocations: 4.438 kB / 6.071 GB, free: 95.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/13.66, allocations: 4.938 kB / 6.071 GB, free: 95.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/13.66, allocations: 321.8 kB / 6.072 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/13.66, allocations: 0 / 6.072 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/13.66, allocations: 32.64 kB / 6.072 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/13.66, allocations: 7.703 kB / 6.072 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/13.66, allocations: 2.156 kB / 6.072 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/13.66, allocations: 5.25 kB / 6.072 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/13.66, allocations: 1.75 kB / 6.072 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005493/13.66, allocations: 290.5 kB / 6.072 GB, free: 95.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/13.66, allocations: 145.6 kB / 6.072 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.362e-05/13.67, allocations: 5.125 kB / 6.072 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/13.67, allocations: 28.95 kB / 6.072 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.402e-05/13.67, allocations: 7.156 kB / 6.072 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/13.67, allocations: 16.47 kB / 6.072 GB, free: 94.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003367/13.67, allocations: 274.5 kB / 6.073 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001664/13.67, allocations: 423.8 kB / 6.073 GB, free: 94.62 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002835/13.67, allocations: 1.254 MB / 6.074 GB, free: 94.38 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006521/13.67, allocations: 373 kB / 6.075 GB, free: 94.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/13.67, allocations: 3.625 kB / 6.075 GB, free: 94.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.659e-05/13.67, allocations: 53.67 kB / 6.075 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007554/13.67, allocations: 129.2 kB / 6.075 GB, free: 94.21 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/13.67, allocations: 461.7 kB / 6.075 GB, free: 94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00043/13.67, allocations: 0.8858 MB / 6.076 GB, free: 93.28 MB / 0.5105 GB Notification: Performance of SimCode: time 9.01e-07/13.67, allocations: 3.188 kB / 6.076 GB, free: 93.28 MB / 0.5105 GB Notification: Performance of Templates: time 0.02689/13.7, allocations: 14.88 MB / 6.091 GB, free: 91.75 MB / 0.5105 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)