Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume") [: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.7161/0.7161, allocations: 127.4 MB / 134.6 MB, free: 4.117 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.001296/0.001297, allocations: 193.2 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.98/1.98, allocations: 205.1 MB / 399.1 MB, free: 6.09 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.00107/0.00107, allocations: 93.77 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.237e-06/9.257e-06, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2196, allocations: 76.74 MB / 0.6209 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.282/5.502, allocations: 2.163 GB / 2.783 GB, free: 33.96 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/5.502, allocations: 87.95 kB / 2.784 GB, free: 33.87 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.038/11.54, allocations: 1.331 GB / 4.114 GB, free: 70.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003996/11.54, allocations: 62.41 kB / 4.114 GB, free: 70.75 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.01045/11.55, allocations: 2.198 MB / 4.116 GB, free: 70.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.149e-05/11.55, allocations: 10.25 kB / 4.116 GB, free: 70.01 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005655/11.56, allocations: 0.5367 MB / 4.117 GB, free: 69.89 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008202/11.57, allocations: 1.507 MB / 4.118 GB, free: 69.56 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004017/11.57, allocations: 124.6 kB / 4.118 GB, free: 69.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/11.57, allocations: 94.25 kB / 4.119 GB, free: 69.49 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005416/11.57, allocations: 1.271 MB / 4.12 GB, free: 69.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00421/11.58, allocations: 1.474 MB / 4.121 GB, free: 69.31 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.605e-05/11.58, allocations: 0 / 4.121 GB, free: 69.31 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/11.58, allocations: 3.688 kB / 4.121 GB, free: 69.31 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.579e-05/11.58, allocations: 64.52 kB / 4.121 GB, free: 69.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/11.59, allocations: 7.645 MB / 4.129 GB, free: 65.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/11.59, allocations: 0.5909 MB / 4.129 GB, free: 65.11 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007927/11.59, allocations: 0.5115 MB / 4.13 GB, free: 65.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008146/11.59, allocations: 403.3 kB / 4.13 GB, free: 64.71 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.144e-05/11.59, allocations: 53.8 kB / 4.13 GB, free: 64.67 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=104): time 5.25e-06/11.59, allocations: 0 / 4.13 GB, free: 64.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=110): time 0.01191/11.61, allocations: 3.138 MB / 4.133 GB, free: 64.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/11.61, allocations: 66.59 kB / 4.133 GB, free: 64.01 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/11.61, allocations: 0.8837 MB / 4.134 GB, free: 63.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002799/11.61, allocations: 29.27 kB / 4.134 GB, free: 63.82 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007557/11.61, allocations: 0.5734 MB / 4.135 GB, free: 63.53 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000609/11.61, allocations: 382.9 kB / 4.135 GB, free: 63.28 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.275e-05/11.61, allocations: 0 / 4.135 GB, free: 63.28 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001852/11.61, allocations: 351.9 kB / 4.136 GB, free: 62.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008492/11.61, allocations: 429.7 kB / 4.136 GB, free: 62.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001255/11.61, allocations: 0.7815 MB / 4.137 GB, free: 62.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001574/11.61, allocations: 0.6284 MB / 4.137 GB, free: 62.56 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/11.61, allocations: 3.375 kB / 4.137 GB, free: 62.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003406/11.62, allocations: 1.401 MB / 4.139 GB, free: 62.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001369/11.62, allocations: 3.018 MB / 4.142 GB, free: 59.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.119e-05/11.62, allocations: 11.61 kB / 4.142 GB, free: 59.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.691e-05/11.62, allocations: 14.84 kB / 4.142 GB, free: 59.33 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/11.62, allocations: 343.4 kB / 4.142 GB, free: 59.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.475e-05/11.62, allocations: 15.53 kB / 4.142 GB, free: 59.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003176/11.62, allocations: 195.1 kB / 4.142 GB, free: 59.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/11.62, allocations: 54.91 kB / 4.142 GB, free: 59.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/11.63, allocations: 3.688 kB / 4.142 GB, free: 59.32 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00262/11.63, allocations: 1.145 MB / 4.143 GB, free: 59.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/11.63, allocations: 7.062 kB / 4.143 GB, free: 59.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/11.63, allocations: 13.41 kB / 4.143 GB, free: 59.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/11.63, allocations: 288 kB / 4.144 GB, free: 59.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-05/11.63, allocations: 20.14 kB / 4.144 GB, free: 59.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/11.63, allocations: 150.5 kB / 4.144 GB, free: 59.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/11.63, allocations: 54.28 kB / 4.144 GB, free: 59.29 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 155 * 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.0006531/11.63, allocations: 138.8 kB / 4.144 GB, free: 59.17 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000882/11.63, allocations: 158.9 kB / 4.144 GB, free: 59.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/11.64, allocations: 1.224 MB / 4.145 GB, free: 59.01 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.142e-05/11.64, allocations: 11.41 kB / 4.145 GB, free: 59.01 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.315e-05/11.64, allocations: 5.438 kB / 4.145 GB, free: 59.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002377/11.64, allocations: 1.154 MB / 4.147 GB, free: 58.74 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009024/11.65, allocations: 2.781 MB / 4.149 GB, free: 58.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/11.65, allocations: 0 / 4.149 GB, free: 58.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/11.65, allocations: 321.9 kB / 4.15 GB, free: 58.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.229e-05/11.65, allocations: 3.906 kB / 4.15 GB, free: 58.37 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/11.65, allocations: 21.75 kB / 4.15 GB, free: 58.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.487e-05/11.65, allocations: 11.44 kB / 4.15 GB, free: 58.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.106e-06/11.65, allocations: 1.875 kB / 4.15 GB, free: 58.37 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003892/11.66, allocations: 2.005 MB / 4.152 GB, free: 57.95 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00171/11.66, allocations: 345.9 kB / 4.152 GB, free: 57.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006974/11.66, allocations: 7.781 kB / 4.152 GB, free: 57.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002852/11.66, allocations: 180.1 kB / 4.152 GB, free: 57.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/11.66, allocations: 65.27 kB / 4.152 GB, free: 57.76 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/11.66, allocations: 50.09 kB / 4.152 GB, free: 57.76 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001992/11.66, allocations: 0.6591 MB / 4.153 GB, free: 57.65 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006008/11.67, allocations: 0.9372 MB / 4.154 GB, free: 57.64 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * 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.007777/11.68, allocations: 3.407 MB / 4.157 GB, free: 56.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004596/11.68, allocations: 1.722 MB / 4.159 GB, free: 56.35 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.375e-05/11.68, allocations: 0 / 4.159 GB, free: 56.35 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/11.68, allocations: 0.5291 MB / 4.159 GB, free: 56.35 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00686/11.69, allocations: 0.8341 MB / 4.16 GB, free: 56.33 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0116/11.7, allocations: 3.054 MB / 4.163 GB, free: 55.64 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003417/11.7, allocations: 1.668 MB / 4.165 GB, free: 54.89 MB / 0.6823 GB Notification: Performance of SimCode: time 2.294e-06/11.7, allocations: 0 / 4.165 GB, free: 54.89 MB / 0.6823 GB Notification: Performance of Templates: time 0.1166/11.82, allocations: 51.64 MB / 4.215 GB, free: 51.99 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)