Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.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.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo): time 0.5124/0.5124, allocations: 94.74 MB / 102 MB, free: 10.37 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.001379/0.001378, allocations: 187.6 kB / 125.3 MB, free: 11.99 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.613/1.613, allocations: 170.5 MB / 319 MB, free: 9.352 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.001896/0.001896, allocations: 110.6 kB / 381 MB, free: 18.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.937e-06/9.388e-06, allocations: 0 / 448.6 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1843, allocations: 61.51 MB / 0.4981 GB, free: 4.523 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.46/11.65, allocations: 5.26 GB / 5.758 GB, free: 42.66 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/11.65, allocations: 79.95 kB / 5.758 GB, free: 42.58 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.451/13.1, allocations: 411 MB / 6.16 GB, free: 21.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001016/13.1, allocations: 29.36 kB / 6.16 GB, free: 21.64 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003772/13.1, allocations: 1.162 MB / 6.161 GB, free: 20.45 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/13.1, allocations: 8.031 kB / 6.161 GB, free: 20.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007812/13.1, allocations: 114.9 kB / 6.161 GB, free: 20.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06353/13.17, allocations: 22.59 MB / 6.183 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.964e-05/13.17, allocations: 20 kB / 6.183 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003709/13.17, allocations: 43.91 kB / 6.183 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002665/13.17, allocations: 0.7639 MB / 6.184 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002706/13.17, allocations: 0.7196 MB / 6.185 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.9e-05/13.17, allocations: 0 / 6.185 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/13.17, allocations: 8 kB / 6.185 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.015e-05/13.17, allocations: 20 kB / 6.185 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009141/13.18, allocations: 2.853 MB / 6.187 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006285/13.18, allocations: 269.6 kB / 6.188 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004208/13.18, allocations: 220.9 kB / 6.188 GB, free: 8.535 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007354/13.18, allocations: 303.3 kB / 6.188 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.436e-05/13.18, allocations: 50.55 kB / 6.188 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=44): time 7.113e-06/13.18, allocations: 0 / 6.188 GB, free: 8.125 MB / 0.5261 GB Notification: Performance of matching and sorting (n=51): time 0.008854/13.19, allocations: 2.579 MB / 6.191 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/13.19, allocations: 55.84 kB / 6.191 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008639/13.19, allocations: 0.5139 MB / 6.191 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.538e-05/13.19, allocations: 29.7 kB / 6.191 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/13.19, allocations: 327.2 kB / 6.192 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/13.19, allocations: 173.4 kB / 6.192 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/13.19, allocations: 0 / 6.192 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002712/13.19, allocations: 378.8 kB / 6.192 GB, free: 3.938 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/13.19, allocations: 277.2 kB / 6.192 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005811/13.2, allocations: 421.1 kB / 6.193 GB, free: 3.199 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/13.2, allocations: 0.5144 MB / 6.193 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/13.2, allocations: 0 / 6.193 GB, free: 2.684 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002646/13.2, allocations: 1.07 MB / 6.194 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006512/13.2, allocations: 1.314 MB / 6.196 GB, free: 192 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/13.2, allocations: 4 kB / 6.196 GB, free: 188 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/13.2, allocations: 132.8 kB / 6.196 GB, free: 52 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2857/13.49, allocations: 187.7 kB / 6.196 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006098/13.49, allocations: 3.391 MB / 6.199 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/13.49, allocations: 64.42 kB / 6.199 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.284e-05/13.49, allocations: 37.5 kB / 6.199 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/13.49, allocations: 3.969 kB / 6.199 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002563/13.5, allocations: 1.067 MB / 6.2 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/13.5, allocations: 7.656 kB / 6.2 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004667/13.5, allocations: 135.8 kB / 6.201 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006836/13.5, allocations: 161 kB / 6.201 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001874/13.5, allocations: 1.847 MB / 6.203 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000857/13.5, allocations: 66.62 kB / 6.203 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.984e-05/13.5, allocations: 40.08 kB / 6.203 GB, free: 121.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 78 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002945/13.5, allocations: 118.7 kB / 6.203 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/13.5, allocations: 68.56 kB / 6.203 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00279/13.5, allocations: 1.049 MB / 6.204 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/13.5, allocations: 7.219 kB / 6.204 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/13.5, allocations: 9.422 kB / 6.204 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/13.5, allocations: 0.5625 kB / 6.204 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003615/13.51, allocations: 1.843 MB / 6.206 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/13.51, allocations: 2.281 kB / 6.206 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007641/13.51, allocations: 145.5 kB / 6.206 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007735/13.51, allocations: 149.9 kB / 6.206 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/13.51, allocations: 14.38 kB / 6.206 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001907/13.51, allocations: 2.094 MB / 6.208 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/13.51, allocations: 3.562 kB / 6.208 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00303/13.51, allocations: 1.343 MB / 6.209 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006072/13.51, allocations: 242.9 kB / 6.21 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/13.51, allocations: 10.47 kB / 6.21 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006879/13.52, allocations: 47.41 kB / 6.21 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/13.52, allocations: 37.09 kB / 6.21 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.415e-05/13.52, allocations: 41.69 kB / 6.21 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0006518/13.52, allocations: 397.6 kB / 6.21 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003795/13.52, allocations: 0.8212 MB / 6.211 GB, free: 119.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T,senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003348/13.52, allocations: 1.674 MB / 6.213 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002901/13.53, allocations: 1.4 MB / 6.214 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/13.53, allocations: 3 kB / 6.214 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009963/13.53, allocations: 0.5181 MB / 6.214 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001774/13.53, allocations: 323.1 kB / 6.215 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/13.53, allocations: 1.441 MB / 6.216 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008757/13.53, allocations: 1.123 MB / 6.217 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/13.53, allocations: 0 / 6.217 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.05421/13.59, allocations: 31.49 MB / 6.248 GB, free: 117.1 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)