Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.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.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001317, allocations: 187.1 kB / 7.804 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4774/0.4774, allocations: 90.85 MB / 99.07 MB, free: 14.92 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.355/1.355, allocations: 221.4 MB / 342.8 MB, free: 5.098 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.001243/0.001243, allocations: 92.66 kB / 415.5 MB, free: 6.375 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.183e-05/1.193e-05, allocations: 4 kB / 493.9 MB, free: 8.031 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4191, allocations: 72.3 MB / 0.5529 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.384/3.803, allocations: 1.885 GB / 2.438 GB, free: 188.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002235/3.804, allocations: 87.95 kB / 2.438 GB, free: 188.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.001/7.804, allocations: 1.359 GB / 3.797 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003033/7.805, allocations: 59.92 kB / 3.797 GB, free: 1.445 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.2817/8.086, allocations: 2.183 MB / 3.799 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/8.087, allocations: 6.844 kB / 3.799 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0039/8.09, allocations: 0.5299 MB / 3.8 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003366/8.094, allocations: 1.45 MB / 3.801 GB, free: 108.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/8.094, allocations: 126.8 kB / 3.801 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/8.094, allocations: 92.28 kB / 3.801 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001979/8.096, allocations: 1.231 MB / 3.803 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/8.098, allocations: 1.478 MB / 3.804 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.954e-05/8.098, allocations: 3.969 kB / 3.804 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/8.099, allocations: 3.719 kB / 3.804 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-05/8.099, allocations: 61.34 kB / 3.804 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008305/8.107, allocations: 8.401 MB / 3.812 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/8.108, allocations: 0.5118 MB / 3.813 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005462/8.108, allocations: 0.4894 MB / 3.813 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005609/8.109, allocations: 409.4 kB / 3.814 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/8.109, allocations: 50.56 kB / 3.814 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=96): time 2.644e-06/8.109, allocations: 0 / 3.814 GB, free: 102.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=102): time 0.005581/8.114, allocations: 2.668 MB / 3.816 GB, free: 101.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/8.114, allocations: 68.66 kB / 3.816 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/8.115, allocations: 0.8887 MB / 3.817 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.85e-05/8.115, allocations: 28.7 kB / 3.817 GB, free: 101.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003527/8.116, allocations: 0.587 MB / 3.818 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/8.116, allocations: 350.6 kB / 3.818 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-05/8.116, allocations: 2.844 kB / 3.818 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.169e-05/8.116, allocations: 356.5 kB / 3.819 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/8.117, allocations: 384.1 kB / 3.819 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006488/8.117, allocations: 0.767 MB / 3.82 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007816/8.118, allocations: 0.5621 MB / 3.82 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/8.118, allocations: 11.31 kB / 3.82 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001792/8.12, allocations: 1.287 MB / 3.821 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006461/8.121, allocations: 3.64 MB / 3.825 GB, free: 96.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/8.121, allocations: 10.16 kB / 3.825 GB, free: 96.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/8.121, allocations: 15.81 kB / 3.825 GB, free: 96.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/8.122, allocations: 288.4 kB / 3.825 GB, free: 96.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/8.122, allocations: 20.44 kB / 3.825 GB, free: 96.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/8.124, allocations: 165 kB / 3.826 GB, free: 96.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/8.124, allocations: 58.81 kB / 3.826 GB, free: 96.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.113e-06/8.124, allocations: 3.75 kB / 3.826 GB, free: 96.57 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001525/8.125, allocations: 1.091 MB / 3.827 GB, free: 96.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-06/8.125, allocations: 7.688 kB / 3.827 GB, free: 96.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/8.125, allocations: 19.03 kB / 3.827 GB, free: 96.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/8.127, allocations: 274.5 kB / 3.827 GB, free: 96.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/8.127, allocations: 25.8 kB / 3.827 GB, free: 96.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/8.128, allocations: 157.5 kB / 3.827 GB, free: 96.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.175e-05/8.128, allocations: 55.02 kB / 3.827 GB, free: 96.54 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (150): * Single equations (assignments): 150 * 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.000248/8.128, allocations: 142.7 kB / 3.827 GB, free: 96.43 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/8.129, allocations: 155.4 kB / 3.827 GB, free: 96.35 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/8.131, allocations: 1.078 MB / 3.828 GB, free: 96.27 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.929e-06/8.131, allocations: 13.03 kB / 3.829 GB, free: 96.27 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/8.131, allocations: 0 / 3.829 GB, free: 96.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/8.132, allocations: 1.027 MB / 3.83 GB, free: 96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/8.136, allocations: 2.563 MB / 3.832 GB, free: 95.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/8.136, allocations: 3.25 kB / 3.832 GB, free: 95.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/8.137, allocations: 252.4 kB / 3.832 GB, free: 95.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/8.137, allocations: 8.719 kB / 3.832 GB, free: 95.64 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/8.137, allocations: 11.5 kB / 3.832 GB, free: 95.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/8.137, allocations: 14.03 kB / 3.832 GB, free: 95.64 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/8.137, allocations: 2.156 kB / 3.832 GB, free: 95.64 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001967/8.139, allocations: 1.775 MB / 3.834 GB, free: 95.19 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005956/8.14, allocations: 323.1 kB / 3.834 GB, free: 95.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/8.14, allocations: 17.25 kB / 3.834 GB, free: 95.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/8.141, allocations: 131.8 kB / 3.834 GB, free: 95.01 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/8.141, allocations: 54.62 kB / 3.835 GB, free: 95.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.446e-05/8.141, allocations: 45.41 kB / 3.835 GB, free: 95.01 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0007379/8.142, allocations: 0.6674 MB / 3.835 GB, free: 94.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002442/8.145, allocations: 0.9272 MB / 3.836 GB, free: 94.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 102 * 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.003445/8.148, allocations: 3.344 MB / 3.839 GB, free: 93.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002103/8.15, allocations: 1.617 MB / 3.841 GB, free: 93.65 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/8.15, allocations: 2.344 kB / 3.841 GB, free: 93.65 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005267/8.151, allocations: 485.2 kB / 3.841 GB, free: 93.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003752/8.154, allocations: 0.8269 MB / 3.842 GB, free: 93.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004711/8.159, allocations: 2.787 MB / 3.845 GB, free: 92.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/8.16, allocations: 1.62 MB / 3.847 GB, free: 92.24 MB / 0.6511 GB Notification: Performance of SimCode: time 6.41e-07/8.16, allocations: 0 / 3.847 GB, free: 92.24 MB / 0.6511 GB Notification: Performance of Templates: time 0.06791/8.228, allocations: 48.9 MB / 3.894 GB, free: 90.99 MB / 0.6511 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)