Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") [: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.7085/0.7085, allocations: 127.4 MB / 134.6 MB, free: 4.109 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.001235/0.001235, allocations: 177.3 kB / 164.4 MB, free: 6.879 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.785/1.785, allocations: 205.1 MB / 399.1 MB, free: 6.102 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.001131/0.001131, allocations: 92.09 kB / 476.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 7.504e-06/7.534e-06, allocations: 0 / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1922, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.457/5.649, allocations: 2.179 GB / 2.8 GB, free: 30.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/5.649, allocations: 86.02 kB / 2.8 GB, free: 30.58 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.999/7.648, allocations: 466.9 MB / 3.256 GB, free: 57.58 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001977/7.649, allocations: 21.95 kB / 3.256 GB, free: 57.56 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.007098/7.656, allocations: 1.492 MB / 3.258 GB, free: 56.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.274e-05/7.656, allocations: 8.031 kB / 3.258 GB, free: 56.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/7.659, allocations: 299.5 kB / 3.258 GB, free: 55.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003393/7.662, allocations: 0.8562 MB / 3.259 GB, free: 54.85 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.512e-05/7.662, allocations: 20 kB / 3.259 GB, free: 54.83 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003881/7.663, allocations: 44 kB / 3.259 GB, free: 54.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002195/7.665, allocations: 0.8896 MB / 3.26 GB, free: 53.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/7.667, allocations: 0.8978 MB / 3.26 GB, free: 52.98 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/7.667, allocations: 0 / 3.26 GB, free: 52.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/7.667, allocations: 0 / 3.26 GB, free: 52.98 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/7.668, allocations: 81.84 kB / 3.261 GB, free: 52.9 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007694/7.675, allocations: 3.442 MB / 3.264 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/7.677, allocations: 0.7509 MB / 3.265 GB, free: 48.51 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/7.677, allocations: 353.6 kB / 3.265 GB, free: 48.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003556/7.678, allocations: 197.2 kB / 3.265 GB, free: 47.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/7.678, allocations: 46.91 kB / 3.265 GB, free: 47.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=60): time 4.529e-06/7.678, allocations: 0 / 3.265 GB, free: 47.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=60): time 0.00207/7.68, allocations: 0.7416 MB / 3.266 GB, free: 47.14 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.436e-05/7.68, allocations: 107.3 kB / 3.266 GB, free: 47.01 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007554/7.681, allocations: 0.5506 MB / 3.267 GB, free: 46.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/7.681, allocations: 25.7 kB / 3.267 GB, free: 46.42 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/7.681, allocations: 319.6 kB / 3.267 GB, free: 46.1 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/7.681, allocations: 205 kB / 3.267 GB, free: 45.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/7.681, allocations: 4 kB / 3.267 GB, free: 45.89 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001751/7.682, allocations: 386.8 kB / 3.267 GB, free: 45.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/7.682, allocations: 309.5 kB / 3.268 GB, free: 45.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005307/7.683, allocations: 429.9 kB / 3.268 GB, free: 44.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005997/7.689, allocations: 1.339 MB / 3.269 GB, free: 43.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.852e-06/7.689, allocations: 3.906 kB / 3.269 GB, free: 43.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.006411/7.695, allocations: 1.808 MB / 3.271 GB, free: 41.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002125/7.695, allocations: 0.7018 MB / 3.272 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/7.695, allocations: 8 kB / 3.272 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/7.695, allocations: 4 kB / 3.272 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007291/7.696, allocations: 139.8 kB / 3.272 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/7.696, allocations: 4 kB / 3.272 GB, free: 40.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009997/7.697, allocations: 83.23 kB / 3.272 GB, free: 40.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-05/7.697, allocations: 24 kB / 3.272 GB, free: 40.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/7.697, allocations: 6.5 kB / 3.272 GB, free: 40.57 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00592/7.703, allocations: 1.616 MB / 3.274 GB, free: 38.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/7.703, allocations: 0 / 3.274 GB, free: 38.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/7.703, allocations: 11.88 kB / 3.274 GB, free: 38.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/7.704, allocations: 148 kB / 3.274 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/7.704, allocations: 4 kB / 3.274 GB, free: 38.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009031/7.705, allocations: 71.39 kB / 3.274 GB, free: 38.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/7.705, allocations: 24 kB / 3.274 GB, free: 38.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.0002265/7.705, allocations: 112.9 kB / 3.274 GB, free: 38.58 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/7.705, allocations: 79.06 kB / 3.274 GB, free: 38.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/7.707, allocations: 0.7657 MB / 3.275 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/7.707, allocations: 4 kB / 3.275 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/7.707, allocations: 4 kB / 3.275 GB, free: 37.72 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009246/7.708, allocations: 0.7102 MB / 3.276 GB, free: 36.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002956/7.711, allocations: 1.876 MB / 3.277 GB, free: 35.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/7.711, allocations: 4 kB / 3.277 GB, free: 35.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/7.711, allocations: 132.2 kB / 3.278 GB, free: 34.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/7.711, allocations: 4 kB / 3.278 GB, free: 34.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/7.711, allocations: 11.98 kB / 3.278 GB, free: 34.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/7.711, allocations: 4 kB / 3.278 GB, free: 34.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/7.711, allocations: 7.938 kB / 3.278 GB, free: 34.88 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001664/7.713, allocations: 1.465 MB / 3.279 GB, free: 33.29 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/7.714, allocations: 244 kB / 3.279 GB, free: 33.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/7.714, allocations: 15.84 kB / 3.279 GB, free: 33.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006626/7.714, allocations: 43.89 kB / 3.279 GB, free: 32.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.625e-05/7.714, allocations: 36.3 kB / 3.279 GB, free: 32.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/7.715, allocations: 27.92 kB / 3.279 GB, free: 32.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0005245/7.715, allocations: 431.2 kB / 3.28 GB, free: 32.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00289/7.718, allocations: 0.8694 MB / 3.281 GB, free: 31.62 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 62 * 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.003204/7.721, allocations: 1.966 MB / 3.283 GB, free: 29.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001649/7.723, allocations: 1.1 MB / 3.284 GB, free: 28.55 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/7.723, allocations: 4.812 kB / 3.284 GB, free: 28.55 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003811/7.723, allocations: 350 kB / 3.284 GB, free: 28.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002067/7.725, allocations: 419.3 kB / 3.284 GB, free: 27.8 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/7.728, allocations: 1.463 MB / 3.286 GB, free: 26.27 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008479/7.729, allocations: 1.179 MB / 3.287 GB, free: 25.06 MB / 0.6355 GB Notification: Performance of SimCode: time 1.122e-06/7.729, allocations: 4 kB / 3.287 GB, free: 25.06 MB / 0.6355 GB Notification: Performance of Templates: time 0.05461/7.784, allocations: 31.56 MB / 3.318 GB, free: 9.582 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)