Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 173.2 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4877/0.4877, allocations: 86.27 MB / 103.8 MB, free: 14.54 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.409/1.409, allocations: 223.3 MB / 348.4 MB, free: 5.016 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.0008801/0.00088, allocations: 103 kB / 420.2 MB, free: 9.652 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003724, allocations: 12 kB / 0.4901 GB, free: 8.008 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3287, allocations: 71.02 MB / 0.5594 GB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.35/3.679, allocations: 1.9 GB / 2.46 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/3.679, allocations: 89.58 kB / 2.46 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.43/5.11, allocations: 474.4 MB / 2.923 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.062e-06/5.11, allocations: 0 / 2.923 GB, free: 112.2 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001027/5.11, allocations: 29.94 kB / 2.923 GB, free: 112.2 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004217/5.114, allocations: 1.614 MB / 2.925 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/5.114, allocations: 7.25 kB / 2.925 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/5.116, allocations: 292.6 kB / 2.925 GB, free: 111.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/5.118, allocations: 0.8535 MB / 2.926 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/5.118, allocations: 57.42 kB / 2.926 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/5.118, allocations: 74.56 kB / 2.926 GB, free: 111.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/5.12, allocations: 0.9794 MB / 2.927 GB, free: 111 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/5.12, allocations: 3.938 kB / 2.927 GB, free: 111 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/5.12, allocations: 31.42 kB / 2.927 GB, free: 111 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.133e-05/5.12, allocations: 72.22 kB / 2.927 GB, free: 111 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/5.121, allocations: 0.9794 MB / 2.928 GB, free: 111 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00523/5.127, allocations: 3.596 MB / 2.932 GB, free: 109.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008833/5.128, allocations: 0.652 MB / 2.932 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004405/5.128, allocations: 374.7 kB / 2.933 GB, free: 109.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/5.128, allocations: 194.9 kB / 2.933 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/5.128, allocations: 40.94 kB / 2.933 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=62): time 3.226e-06/5.128, allocations: 2.625 kB / 2.933 GB, free: 109.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62): time 0.001695/5.13, allocations: 1.015 MB / 2.934 GB, free: 109.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/5.13, allocations: 110 kB / 2.934 GB, free: 109.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008463/5.131, allocations: 0.7871 MB / 2.935 GB, free: 109.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/5.131, allocations: 42.45 kB / 2.935 GB, free: 109 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/5.131, allocations: 423.9 kB / 2.935 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/5.131, allocations: 217.5 kB / 2.935 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/5.131, allocations: 8.938 kB / 2.935 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.263e-05/5.132, allocations: 341.3 kB / 2.936 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/5.132, allocations: 320.2 kB / 2.936 GB, free: 108.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005164/5.133, allocations: 456 kB / 2.936 GB, free: 108.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009147/5.133, allocations: 0.7324 MB / 2.937 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/5.133, allocations: 0 / 2.937 GB, free: 108.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001243/5.135, allocations: 0.8912 MB / 2.938 GB, free: 108.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.151e-05/5.135, allocations: 147.8 kB / 2.938 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/5.135, allocations: 3.906 kB / 2.938 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/5.135, allocations: 3.75 kB / 2.938 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006263/5.135, allocations: 144.2 kB / 2.938 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/5.135, allocations: 10.78 kB / 2.938 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008529/5.136, allocations: 104.9 kB / 2.938 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.93e-05/5.136, allocations: 28.97 kB / 2.938 GB, free: 108 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/5.136, allocations: 2.781 kB / 2.938 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001026/5.137, allocations: 0.7523 MB / 2.939 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/5.137, allocations: 6.656 kB / 2.939 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.26e-06/5.137, allocations: 3.969 kB / 2.939 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/5.138, allocations: 143.2 kB / 2.939 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/5.138, allocations: 10.59 kB / 2.939 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/5.139, allocations: 97.94 kB / 2.939 GB, free: 108 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.845e-05/5.139, allocations: 29.41 kB / 2.939 GB, free: 108 MB / 0.6042 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0003933/5.139, allocations: 380.4 kB / 2.94 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/5.139, allocations: 93.09 kB / 2.94 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/5.141, allocations: 0.8031 MB / 2.941 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/5.141, allocations: 3.812 kB / 2.941 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/5.141, allocations: 0 / 2.941 GB, free: 107.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008123/5.141, allocations: 0.7406 MB / 2.941 GB, free: 107.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/5.144, allocations: 2.082 MB / 2.943 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.289e-06/5.144, allocations: 3.875 kB / 2.943 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/5.145, allocations: 137.7 kB / 2.944 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/5.145, allocations: 7.812 kB / 2.944 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.311e-05/5.145, allocations: 14.78 kB / 2.944 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/5.145, allocations: 11.34 kB / 2.944 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/5.145, allocations: 3.688 kB / 2.944 GB, free: 107.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001505/5.146, allocations: 1.391 MB / 2.945 GB, free: 106.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/5.147, allocations: 257.1 kB / 2.945 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/5.147, allocations: 17.03 kB / 2.945 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/5.147, allocations: 55.03 kB / 2.945 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/5.147, allocations: 54.02 kB / 2.945 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/5.147, allocations: 27.05 kB / 2.945 GB, free: 106.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005718/5.148, allocations: 0.5484 MB / 2.946 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.41e-07/5.148, allocations: 0 / 2.946 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002139/5.15, allocations: 0.9245 MB / 2.947 GB, free: 106.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.002899/5.153, allocations: 1.782 MB / 2.949 GB, free: 105.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001579/5.155, allocations: 1.137 MB / 2.95 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/5.155, allocations: 2.781 kB / 2.95 GB, free: 105.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004246/5.155, allocations: 370.7 kB / 2.95 GB, free: 105.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/5.158, allocations: 0.5013 MB / 2.951 GB, free: 105 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002511/5.16, allocations: 2.243 MB / 2.953 GB, free: 103.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/5.161, allocations: 1.076 MB / 2.954 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001202/5.162, allocations: 406 kB / 2.954 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/5.162, allocations: 82.86 kB / 2.954 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/5.162, allocations: 0 / 2.954 GB, free: 103.1 MB / 0.6042 GB Notification: Performance of Templates: time 0.04493/5.207, allocations: 37.91 MB / 2.991 GB, free: 81 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)