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 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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 173 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4851/0.4851, allocations: 86.27 MB / 103.8 MB, free: 14.56 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.312/1.312, allocations: 223.3 MB / 348.4 MB, free: 4.977 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.0008493/0.0008492, allocations: 99.44 kB / 420.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.0004329, allocations: 12 kB / 0.4901 GB, free: 8.016 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.323, allocations: 71.01 MB / 0.5594 GB, free: 43.7 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.426/3.749, allocations: 1.884 GB / 2.443 GB, free: 173.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/3.75, allocations: 99.89 kB / 2.443 GB, free: 173.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.008/7.757, allocations: 1.352 GB / 3.795 GB, free: 3.59 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.134e-06/7.757, allocations: 3.938 kB / 3.795 GB, free: 3.586 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000232/7.758, allocations: 51.98 kB / 3.795 GB, free: 3.535 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.007085/7.765, allocations: 2.456 MB / 3.798 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/7.765, allocations: 12.03 kB / 3.798 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003412/7.768, allocations: 0.494 MB / 3.798 GB, free: 0.5078 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3648/8.133, allocations: 1.473 MB / 3.8 GB, free: 65.56 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/8.133, allocations: 171.9 kB / 3.8 GB, free: 65.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/8.133, allocations: 156.5 kB / 3.8 GB, free: 65.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/8.136, allocations: 1.71 MB / 3.802 GB, free: 65.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/8.136, allocations: 4.938 kB / 3.802 GB, free: 65.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/8.136, allocations: 63.17 kB / 3.802 GB, free: 65.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.962e-05/8.136, allocations: 59.86 kB / 3.802 GB, free: 65.26 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/8.139, allocations: 1.337 MB / 3.803 GB, free: 65.24 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008236/8.147, allocations: 8.229 MB / 3.811 GB, free: 60.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/8.148, allocations: 0.8896 MB / 3.812 GB, free: 60.45 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007114/8.149, allocations: 0.5352 MB / 3.813 GB, free: 60.43 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004457/8.15, allocations: 316.3 kB / 3.813 GB, free: 60.15 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/8.15, allocations: 45.19 kB / 3.813 GB, free: 60.11 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=96): time 3.607e-06/8.15, allocations: 1.938 kB / 3.813 GB, free: 60.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=102): time 0.006078/8.156, allocations: 3.128 MB / 3.816 GB, free: 59.5 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/8.156, allocations: 63.88 kB / 3.816 GB, free: 59.43 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/8.157, allocations: 1.238 MB / 3.817 GB, free: 59.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.056e-05/8.157, allocations: 49.8 kB / 3.817 GB, free: 59.24 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/8.158, allocations: 0.8114 MB / 3.818 GB, free: 59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/8.158, allocations: 362.5 kB / 3.818 GB, free: 58.82 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/8.158, allocations: 28.25 kB / 3.818 GB, free: 58.82 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.276e-05/8.158, allocations: 353.2 kB / 3.819 GB, free: 58.51 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006976/8.159, allocations: 432.5 kB / 3.819 GB, free: 58.51 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/8.16, allocations: 0.8342 MB / 3.82 GB, free: 58.05 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001541/8.161, allocations: 1.249 MB / 3.821 GB, free: 57.71 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.301e-06/8.161, allocations: 3.5 kB / 3.821 GB, free: 57.71 MB / 0.6511 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002187/8.163, allocations: 1.397 MB / 3.823 GB, free: 57.57 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/8.164, allocations: 363.9 kB / 3.823 GB, free: 57.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/8.164, allocations: 13.12 kB / 3.823 GB, free: 57.17 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/8.164, allocations: 18.83 kB / 3.823 GB, free: 57.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/8.165, allocations: 285.5 kB / 3.823 GB, free: 57.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.662e-05/8.165, allocations: 20.88 kB / 3.823 GB, free: 57.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/8.166, allocations: 172.1 kB / 3.823 GB, free: 57.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/8.167, allocations: 54.94 kB / 3.823 GB, free: 57.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/8.167, allocations: 6 kB / 3.823 GB, free: 57.16 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001984/8.169, allocations: 1.219 MB / 3.825 GB, free: 57.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/8.169, allocations: 10.08 kB / 3.825 GB, free: 57.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/8.169, allocations: 18.97 kB / 3.825 GB, free: 57.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009972/8.17, allocations: 280.3 kB / 3.825 GB, free: 57.13 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.048e-05/8.17, allocations: 26.38 kB / 3.825 GB, free: 57.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001642/8.171, allocations: 171.2 kB / 3.825 GB, free: 57.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/8.171, allocations: 50.81 kB / 3.825 GB, free: 57.12 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 () * Number of clocked 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.0009358/8.172, allocations: 0.5041 MB / 3.826 GB, free: 56.93 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/8.173, allocations: 167.6 kB / 3.826 GB, free: 56.85 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/8.175, allocations: 1.165 MB / 3.827 GB, free: 56.76 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/8.175, allocations: 12.94 kB / 3.827 GB, free: 56.76 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/8.175, allocations: 1.312 kB / 3.827 GB, free: 56.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001462/8.176, allocations: 1.081 MB / 3.828 GB, free: 56.49 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005008/8.181, allocations: 2.777 MB / 3.831 GB, free: 56.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/8.181, allocations: 2.656 kB / 3.831 GB, free: 56.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/8.182, allocations: 256 kB / 3.831 GB, free: 56.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.328e-05/8.182, allocations: 7.688 kB / 3.831 GB, free: 56.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.295e-05/8.182, allocations: 25.31 kB / 3.831 GB, free: 56.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/8.182, allocations: 8.469 kB / 3.831 GB, free: 56.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/8.182, allocations: 6.688 kB / 3.831 GB, free: 56.09 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/8.185, allocations: 1.817 MB / 3.833 GB, free: 55.78 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007611/8.186, allocations: 339.1 kB / 3.833 GB, free: 55.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/8.186, allocations: 33.69 kB / 3.833 GB, free: 55.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/8.188, allocations: 148.7 kB / 3.833 GB, free: 55.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/8.188, allocations: 64.12 kB / 3.833 GB, free: 55.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.882e-05/8.188, allocations: 41.81 kB / 3.833 GB, free: 55.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001252/8.189, allocations: 0.8233 MB / 3.834 GB, free: 55.48 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.4e-07/8.189, allocations: 0 / 3.834 GB, free: 55.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003315/8.192, allocations: 1.077 MB / 3.835 GB, free: 55.48 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.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.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 (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.004437/8.197, allocations: 3.029 MB / 3.838 GB, free: 54.26 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00298/8.2, allocations: 1.73 MB / 3.84 GB, free: 54.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/8.2, allocations: 5.359 kB / 3.84 GB, free: 54.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007896/8.201, allocations: 0.5149 MB / 3.84 GB, free: 54.23 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004881/8.205, allocations: 0.9541 MB / 3.841 GB, free: 54.21 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00552/8.211, allocations: 4.248 MB / 3.845 GB, free: 52.49 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000936/8.212, allocations: 1.44 MB / 3.847 GB, free: 51.75 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002187/8.214, allocations: 0.5488 MB / 3.847 GB, free: 51.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/8.215, allocations: 134.6 kB / 3.848 GB, free: 51.73 MB / 0.6511 GB Notification: Performance of SimCode: time 1.373e-06/8.215, allocations: 3.969 kB / 3.848 GB, free: 51.73 MB / 0.6511 GB Notification: Performance of Templates: time 0.07915/8.294, allocations: 62.59 MB / 3.909 GB, free: 49.08 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)