Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.6824/0.6824, allocations: 127.4 MB / 134.6 MB, free: 4.086 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 185.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.1 MB / 399.1 MB, free: 6.059 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 85.27 kB / 476.3 MB, free: 8.828 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.289e-05/1.294e-05, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1686, allocations: 76.74 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.008/5.177, allocations: 2.156 GB / 2.777 GB, free: 57.24 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/5.177, allocations: 87.95 kB / 2.777 GB, free: 57.15 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.802/6.98, allocations: 481.4 MB / 3.247 GB, free: 67.39 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.174e-05/6.98, allocations: 20 kB / 3.247 GB, free: 67.38 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002182/6.982, allocations: 1.033 MB / 3.248 GB, free: 66.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/6.982, allocations: 8.031 kB / 3.248 GB, free: 66.29 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/6.984, allocations: 290.7 kB / 3.248 GB, free: 66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001369/6.986, allocations: 0.6535 MB / 3.249 GB, free: 65.31 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/6.986, allocations: 16 kB / 3.249 GB, free: 65.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.441e-05/6.986, allocations: 39.98 kB / 3.249 GB, free: 65.26 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008779/6.987, allocations: 0.4985 MB / 3.249 GB, free: 64.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007824/6.988, allocations: 0.5557 MB / 3.25 GB, free: 64.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/6.988, allocations: 0 / 3.25 GB, free: 64.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/6.988, allocations: 3.938 kB / 3.25 GB, free: 64.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.864e-05/6.988, allocations: 21.25 kB / 3.25 GB, free: 64.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/6.99, allocations: 2.466 MB / 3.252 GB, free: 61.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005139/6.991, allocations: 408.1 kB / 3.253 GB, free: 61.09 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002659/6.991, allocations: 225.5 kB / 3.253 GB, free: 60.87 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006421/6.992, allocations: 0.5574 MB / 3.253 GB, free: 60.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/6.992, allocations: 34.89 kB / 3.253 GB, free: 60.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=40): time 2.194e-06/6.992, allocations: 4 kB / 3.253 GB, free: 60.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=40): time 0.001451/6.993, allocations: 499 kB / 3.254 GB, free: 59.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/6.993, allocations: 55.41 kB / 3.254 GB, free: 59.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/6.994, allocations: 361.3 kB / 3.254 GB, free: 59.24 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/6.994, allocations: 25.7 kB / 3.254 GB, free: 59.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/6.994, allocations: 252.3 kB / 3.255 GB, free: 58.95 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.754e-05/6.994, allocations: 141.9 kB / 3.255 GB, free: 58.81 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/6.994, allocations: 0 / 3.255 GB, free: 58.81 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/6.994, allocations: 362.7 kB / 3.255 GB, free: 58.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/6.994, allocations: 140.8 kB / 3.255 GB, free: 58.31 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002393/6.995, allocations: 255.4 kB / 3.255 GB, free: 58.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/6.995, allocations: 207.8 kB / 3.256 GB, free: 57.82 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/6.995, allocations: 0 / 3.256 GB, free: 57.82 MB / 0.6355 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007019/6.996, allocations: 484.6 kB / 3.256 GB, free: 57.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000209/6.996, allocations: 0.7824 MB / 3.257 GB, free: 56.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/6.996, allocations: 7.984 kB / 3.257 GB, free: 56.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/6.996, allocations: 4 kB / 3.257 GB, free: 56.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/6.997, allocations: 199.7 kB / 3.257 GB, free: 56.29 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007835/6.998, allocations: 0.664 MB / 3.258 GB, free: 55.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006866/6.999, allocations: 71.77 kB / 3.258 GB, free: 55.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.954e-05/6.999, allocations: 23.89 kB / 3.258 GB, free: 55.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/6.999, allocations: 10.12 kB / 3.258 GB, free: 55.5 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000583/6.999, allocations: 391.5 kB / 3.258 GB, free: 55.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/6.999, allocations: 0 / 3.258 GB, free: 55.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/6.999, allocations: 4 kB / 3.258 GB, free: 55.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/7, allocations: 104.1 kB / 3.258 GB, free: 55.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/7, allocations: 11.92 kB / 3.258 GB, free: 55 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004991/7, allocations: 63.64 kB / 3.258 GB, free: 54.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/7, allocations: 16 kB / 3.258 GB, free: 54.92 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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.0001245/7, allocations: 120.6 kB / 3.259 GB, free: 54.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.221e-05/7.001, allocations: 59.33 kB / 3.259 GB, free: 54.73 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007538/7.001, allocations: 462.4 kB / 3.259 GB, free: 54.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/7.001, allocations: 4 kB / 3.259 GB, free: 54.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/7.001, allocations: 3.984 kB / 3.259 GB, free: 54.26 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005836/7.002, allocations: 0.6754 MB / 3.26 GB, free: 53.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/7.004, allocations: 1.194 MB / 3.261 GB, free: 52.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/7.004, allocations: 4 kB / 3.261 GB, free: 52.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/7.005, allocations: 208 kB / 3.261 GB, free: 52.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/7.005, allocations: 4 kB / 3.261 GB, free: 52.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.32e-05/7.005, allocations: 15.98 kB / 3.261 GB, free: 52.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/7.007, allocations: 1.402 MB / 3.262 GB, free: 50.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/7.007, allocations: 4.031 kB / 3.262 GB, free: 50.5 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009264/7.008, allocations: 0.8799 MB / 3.263 GB, free: 49.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/7.008, allocations: 180.3 kB / 3.263 GB, free: 49.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.638e-05/7.008, allocations: 4 kB / 3.263 GB, free: 49.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005622/7.009, allocations: 59.8 kB / 3.264 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/7.009, allocations: 27.88 kB / 3.264 GB, free: 49.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/7.009, allocations: 19.98 kB / 3.264 GB, free: 49.22 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0002656/7.009, allocations: 278.9 kB / 3.264 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001334/7.01, allocations: 431 kB / 3.264 GB, free: 48.53 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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.002351/7.013, allocations: 1.578 MB / 3.266 GB, free: 46.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002016/7.015, allocations: 0.7215 MB / 3.267 GB, free: 46.17 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/7.015, allocations: 0 / 3.267 GB, free: 46.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/7.016, allocations: 340.6 kB / 3.267 GB, free: 45.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/7.018, allocations: 315.2 kB / 3.267 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/7.02, allocations: 1.087 MB / 3.268 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005912/7.02, allocations: 1.02 MB / 3.269 GB, free: 43.35 MB / 0.6355 GB Notification: Performance of SimCode: time 4.01e-07/7.02, allocations: 4 kB / 3.269 GB, free: 43.35 MB / 0.6355 GB Notification: Performance of Templates: time 0.03165/7.052, allocations: 20.68 MB / 3.289 GB, free: 22.77 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)