Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density") translateModel(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 185.4 kB / 7.803 MB, free: 2.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4687/0.4687, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 221.4 MB / 342.7 MB, free: 5.438 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 100.6 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 9.698e-06/1.001e-05, allocations: 4 kB / 493.9 MB, free: 8.094 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3706, allocations: 72.3 MB / 0.5529 GB, free: 73.33 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.3/3.67, allocations: 1.878 GB / 2.431 GB, free: 206 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/3.671, allocations: 83.95 kB / 2.431 GB, free: 205.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.385/5.056, allocations: 491.3 MB / 2.911 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001008/5.056, allocations: 27.95 kB / 2.911 GB, free: 116.6 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002725/5.059, allocations: 1.03 MB / 2.912 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/5.059, allocations: 11.62 kB / 2.912 GB, free: 116.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002524/5.061, allocations: 295.8 kB / 2.912 GB, free: 116 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00171/5.063, allocations: 0.6319 MB / 2.913 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/5.063, allocations: 19.84 kB / 2.913 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/5.063, allocations: 39.75 kB / 2.913 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001027/5.064, allocations: 0.4912 MB / 2.913 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009818/5.065, allocations: 0.5556 MB / 2.914 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.301e-05/5.065, allocations: 2.781 kB / 2.914 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/5.065, allocations: 0 / 2.914 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-05/5.065, allocations: 18 kB / 2.914 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/5.069, allocations: 2.542 MB / 2.916 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/5.069, allocations: 259.6 kB / 2.917 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/5.07, allocations: 238.7 kB / 2.917 GB, free: 114.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005772/5.07, allocations: 483.7 kB / 2.917 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/5.07, allocations: 33.19 kB / 2.917 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=41): time 2.725e-06/5.07, allocations: 0 / 2.917 GB, free: 113.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=41): time 0.001389/5.072, allocations: 483.9 kB / 2.918 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.244e-05/5.072, allocations: 59.03 kB / 2.918 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/5.072, allocations: 364.4 kB / 2.918 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/5.072, allocations: 29.17 kB / 2.918 GB, free: 113.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/5.072, allocations: 248.6 kB / 2.919 GB, free: 113.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/5.072, allocations: 145.8 kB / 2.919 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/5.072, allocations: 0 / 2.919 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.598e-05/5.072, allocations: 365 kB / 2.919 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002091/5.073, allocations: 146.5 kB / 2.919 GB, free: 113.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/5.073, allocations: 255.9 kB / 2.919 GB, free: 113 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/5.073, allocations: 216.6 kB / 2.92 GB, free: 113 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/5.073, allocations: 0 / 2.92 GB, free: 113 MB / 0.6042 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008159/5.074, allocations: 495 kB / 2.92 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001965/5.074, allocations: 0.8684 MB / 2.921 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/5.074, allocations: 3.938 kB / 2.921 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/5.074, allocations: 3.844 kB / 2.921 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/5.075, allocations: 124 kB / 2.921 GB, free: 112 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003215/5.075, allocations: 0.6014 MB / 2.922 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007014/5.076, allocations: 74.67 kB / 2.922 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/5.076, allocations: 21.75 kB / 2.922 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/5.076, allocations: 3.531 kB / 2.922 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006336/5.077, allocations: 405.4 kB / 2.922 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/5.077, allocations: 3.969 kB / 2.922 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.663e-06/5.077, allocations: 3.875 kB / 2.922 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004132/5.077, allocations: 101.9 kB / 2.922 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/5.077, allocations: 7.609 kB / 2.922 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006357/5.078, allocations: 70.09 kB / 2.922 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.342e-05/5.078, allocations: 17.12 kB / 2.922 GB, free: 111.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/5.078, allocations: 118.4 kB / 2.922 GB, free: 111.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/5.078, allocations: 55.94 kB / 2.923 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007434/5.079, allocations: 465 kB / 2.923 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/5.079, allocations: 3.719 kB / 2.923 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/5.079, allocations: 0 / 2.923 GB, free: 111.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006154/5.08, allocations: 0.6872 MB / 2.924 GB, free: 110.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/5.081, allocations: 1.203 MB / 2.925 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/5.081, allocations: 0 / 2.925 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005587/5.082, allocations: 117.1 kB / 2.925 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/5.082, allocations: 7.875 kB / 2.925 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/5.082, allocations: 3.938 kB / 2.925 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002082/5.082, allocations: 0.5981 MB / 2.926 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.716e-06/5.082, allocations: 3.5 kB / 2.926 GB, free: 109.8 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009697/5.083, allocations: 0.8821 MB / 2.926 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/5.084, allocations: 180 kB / 2.927 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001069/5.084, allocations: 14.84 kB / 2.927 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005722/5.084, allocations: 44.22 kB / 2.927 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.124e-05/5.084, allocations: 29.02 kB / 2.927 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/5.084, allocations: 18.03 kB / 2.927 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002869/5.085, allocations: 282.8 kB / 2.927 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001444/5.086, allocations: 444.8 kB / 2.927 GB, free: 109.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002182/5.088, allocations: 1.56 MB / 2.929 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001206/5.09, allocations: 0.6075 MB / 2.929 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/5.09, allocations: 0 / 2.929 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003209/5.09, allocations: 205.4 kB / 2.93 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001513/5.091, allocations: 315.4 kB / 2.93 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002246/5.094, allocations: 1.1 MB / 2.931 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006037/5.094, allocations: 1.018 MB / 2.932 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/5.094, allocations: 0 / 2.932 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.03346/5.128, allocations: 20.63 MB / 2.952 GB, free: 107 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)