Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") translateModel(IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater") [: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.001022/0.001023, allocations: 190.4 kB / 7.802 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4487/0.4487, 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.293/1.293, allocations: 221.4 MB / 342.8 MB, free: 5.188 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.00101/0.00101, allocations: 104.7 kB / 415.5 MB, free: 6.414 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.043e-06/7.073e-06, allocations: 0 / 493.9 MB, free: 8.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3891, allocations: 72.31 MB / 0.5529 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6264/1.016, allocations: 364.1 MB / 0.9085 GB, free: 10.41 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/1.016, allocations: 97.94 kB / 0.9086 GB, free: 10.36 MB / 0.573 GB Notification: Performance of FrontEnd: time 0.8586/1.875, allocations: 248.3 MB / 1.151 GB, free: 37.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001905/1.875, allocations: 31.98 kB / 1.151 GB, free: 37.37 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003005/1.878, allocations: 1.19 MB / 1.152 GB, free: 36.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/1.878, allocations: 12.03 kB / 1.152 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008417/1.879, allocations: 142.5 kB / 1.152 GB, free: 35.98 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01807/1.897, allocations: 7.829 MB / 1.16 GB, free: 28.03 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.652e-05/1.897, allocations: 24 kB / 1.16 GB, free: 28.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002982/1.897, allocations: 44 kB / 1.16 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001611/1.899, allocations: 0.6559 MB / 1.161 GB, free: 27.31 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/1.901, allocations: 0.8694 MB / 1.162 GB, free: 26.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.739e-05/1.901, allocations: 0 / 1.162 GB, free: 26.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.901, allocations: 4 kB / 1.162 GB, free: 26.39 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/1.901, allocations: 31.89 kB / 1.162 GB, free: 26.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005555/1.906, allocations: 4.499 MB / 1.166 GB, free: 21.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/1.907, allocations: 310.6 kB / 1.166 GB, free: 21.24 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/1.907, allocations: 249.4 kB / 1.167 GB, free: 20.99 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003536/1.907, allocations: 429.8 kB / 1.167 GB, free: 20.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/1.907, allocations: 46.81 kB / 1.167 GB, free: 20.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=40): time 2.204e-06/1.907, allocations: 3.938 kB / 1.167 GB, free: 20.42 MB / 0.6042 GB Notification: Performance of matching and sorting (n=40): time 0.001377/1.909, allocations: 0.5578 MB / 1.168 GB, free: 19.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/1.909, allocations: 55.41 kB / 1.168 GB, free: 19.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/1.91, allocations: 0.8013 MB / 1.168 GB, free: 18.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-05/1.91, allocations: 25.7 kB / 1.168 GB, free: 18.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/1.91, allocations: 378.9 kB / 1.169 GB, free: 18.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/1.91, allocations: 138 kB / 1.169 GB, free: 18.44 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/1.91, allocations: 0 / 1.169 GB, free: 18.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.851e-05/1.91, allocations: 333.9 kB / 1.169 GB, free: 18.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/1.911, allocations: 221.2 kB / 1.169 GB, free: 17.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/1.911, allocations: 429.3 kB / 1.17 GB, free: 17.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/1.912, allocations: 321.5 kB / 1.17 GB, free: 17.06 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.912, allocations: 0 / 1.17 GB, free: 17.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001261/1.913, allocations: 0.7559 MB / 1.171 GB, free: 16.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004573/1.913, allocations: 2.182 MB / 1.173 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/1.913, allocations: 8 kB / 1.173 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/1.914, allocations: 56.84 kB / 1.173 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003605/1.914, allocations: 111.8 kB / 1.173 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004271/1.914, allocations: 0.642 MB / 1.174 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009362/1.915, allocations: 91.38 kB / 1.174 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.28e-05/1.915, allocations: 28 kB / 1.174 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/1.915, allocations: 4 kB / 1.174 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009635/1.916, allocations: 0.6212 MB / 1.175 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/1.916, allocations: 7.906 kB / 1.175 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/1.917, allocations: 65.39 kB / 1.175 GB, free: 12.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/1.917, allocations: 115.8 kB / 1.175 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/1.918, allocations: 1.586 MB / 1.176 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000802/1.919, allocations: 79.53 kB / 1.176 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/1.919, allocations: 28 kB / 1.176 GB, free: 10.36 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001708/1.919, allocations: 125.5 kB / 1.177 GB, free: 10.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/1.92, allocations: 90.88 kB / 1.177 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/1.921, allocations: 0.6363 MB / 1.177 GB, free: 9.496 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.921, allocations: 4 kB / 1.177 GB, free: 9.492 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/1.921, allocations: 4 kB / 1.177 GB, free: 9.488 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007974/1.921, allocations: 0.8008 MB / 1.178 GB, free: 8.598 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/1.924, allocations: 1.561 MB / 1.18 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.924, allocations: 0 / 1.18 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/1.924, allocations: 79.89 kB / 1.18 GB, free: 6.883 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.27e-05/1.924, allocations: 28.84 kB / 1.18 GB, free: 6.852 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/1.924, allocations: 7.984 kB / 1.18 GB, free: 6.844 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002677/1.925, allocations: 0.5719 MB / 1.18 GB, free: 6.246 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.925, allocations: 7.984 kB / 1.18 GB, free: 6.238 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001128/1.926, allocations: 0.9906 MB / 1.181 GB, free: 5.191 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/1.926, allocations: 263.8 kB / 1.181 GB, free: 4.914 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/1.927, allocations: 8 kB / 1.181 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006784/1.927, allocations: 63.78 kB / 1.182 GB, free: 4.844 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/1.927, allocations: 15.97 kB / 1.182 GB, free: 4.828 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/1.927, allocations: 27.97 kB / 1.182 GB, free: 4.801 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006883/1.928, allocations: 0.624 MB / 1.182 GB, free: 4.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001948/1.93, allocations: 0.5611 MB / 1.183 GB, free: 3.617 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009372/1.931, allocations: 399.5 kB / 1.183 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001455/1.932, allocations: 0.9762 MB / 1.184 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.932, allocations: 0 / 1.184 GB, free: 2.234 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002979/1.933, allocations: 239.8 kB / 1.184 GB, free: 2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/1.935, allocations: 0.5067 MB / 1.185 GB, free: 1.504 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2797/2.215, allocations: 1.661 MB / 1.186 GB, free: 185.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/2.216, allocations: 1.332 MB / 1.188 GB, free: 185.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.222e-06/2.216, allocations: 3.828 kB / 1.188 GB, free: 185.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.03183/2.248, allocations: 21.66 MB / 1.209 GB, free: 184.9 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1)