Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8128/0.8128, allocations: 141.8 MB / 149.3 MB, free: 9.234 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 175.6 kB / 182.2 MB, free: 9.477 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000967/0.0009669, allocations: 92.11 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00178/0.00178, allocations: 275.8 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.209e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4911, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.382/5.873, allocations: 1.892 GB / 2.649 GB, free: 127.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/5.873, allocations: 92.02 kB / 2.649 GB, free: 127.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.081/10.95, allocations: 1.34 GB / 3.989 GB, free: 78.65 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.103e-06/10.95, allocations: 3.781 kB / 3.989 GB, free: 78.65 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0002551/10.95, allocations: 54.84 kB / 3.989 GB, free: 78.64 MB / 0.7292 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.007392/10.96, allocations: 2.165 MB / 3.991 GB, free: 77.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/10.96, allocations: 9.25 kB / 3.991 GB, free: 77.74 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00389/10.97, allocations: 0.5016 MB / 3.992 GB, free: 77.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004093/10.97, allocations: 1.4 MB / 3.993 GB, free: 77.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/10.97, allocations: 124.5 kB / 3.993 GB, free: 77.14 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004415/10.97, allocations: 93 kB / 3.993 GB, free: 77.14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00255/10.97, allocations: 1.166 MB / 3.994 GB, free: 77.13 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/10.98, allocations: 1.437 MB / 3.996 GB, free: 76.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.864e-05/10.98, allocations: 2.25 kB / 3.996 GB, free: 76.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/10.98, allocations: 3.469 kB / 3.996 GB, free: 76.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.114e-05/10.98, allocations: 57.14 kB / 3.996 GB, free: 76.9 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.009857/10.99, allocations: 7.935 MB / 4.004 GB, free: 72.1 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/10.99, allocations: 0.8221 MB / 4.004 GB, free: 72.05 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006037/10.99, allocations: 474.5 kB / 4.005 GB, free: 72.04 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005376/10.99, allocations: 318.7 kB / 4.005 GB, free: 71.75 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/10.99, allocations: 47.78 kB / 4.005 GB, free: 71.71 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=96): time 3.406e-06/10.99, allocations: 0 / 4.005 GB, free: 71.71 MB / 0.7292 GB Notification: Performance of matching and sorting (n=102): time 0.006109/11, allocations: 2.565 MB / 4.008 GB, free: 71.06 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/11, allocations: 66.47 kB / 4.008 GB, free: 71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/11, allocations: 0.8846 MB / 4.009 GB, free: 70.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001463/11, allocations: 25.7 kB / 4.009 GB, free: 70.81 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009941/11, allocations: 0.8191 MB / 4.009 GB, free: 70.47 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004629/11, allocations: 351.9 kB / 4.01 GB, free: 70.24 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-05/11, allocations: 0 / 4.01 GB, free: 70.24 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001762/11, allocations: 355 kB / 4.01 GB, free: 69.94 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006979/11, allocations: 375.5 kB / 4.01 GB, free: 69.93 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/11, allocations: 0.7566 MB / 4.011 GB, free: 69.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/11, allocations: 0.5504 MB / 4.012 GB, free: 69.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.407e-05/11, allocations: 3.875 kB / 4.012 GB, free: 69.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002743/11, allocations: 1.26 MB / 4.013 GB, free: 69.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001227/11.01, allocations: 3.636 MB / 4.016 GB, free: 65.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-05/11.01, allocations: 12.84 kB / 4.017 GB, free: 65.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.558e-05/11.01, allocations: 20.66 kB / 4.017 GB, free: 65.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/11.01, allocations: 283.3 kB / 4.017 GB, free: 65.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.248e-05/11.01, allocations: 23.42 kB / 4.017 GB, free: 65.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/11.01, allocations: 143.5 kB / 4.017 GB, free: 65.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001458/11.01, allocations: 56.7 kB / 4.017 GB, free: 65.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/11.01, allocations: 4.375 kB / 4.017 GB, free: 65.58 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001795/11.01, allocations: 1.061 MB / 4.018 GB, free: 65.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/11.01, allocations: 16.25 kB / 4.018 GB, free: 65.55 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/11.01, allocations: 14.94 kB / 4.018 GB, free: 65.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/11.01, allocations: 277 kB / 4.018 GB, free: 65.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.584e-05/11.01, allocations: 26.44 kB / 4.018 GB, free: 65.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001991/11.01, allocations: 147.1 kB / 4.019 GB, free: 65.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/11.01, allocations: 55.34 kB / 4.019 GB, free: 65.51 MB / 0.7292 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.0003381/11.02, allocations: 139.2 kB / 4.019 GB, free: 65.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/11.02, allocations: 155 kB / 4.019 GB, free: 65.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/11.02, allocations: 1.052 MB / 4.02 GB, free: 65.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/11.02, allocations: 10.97 kB / 4.02 GB, free: 65.21 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/11.02, allocations: 0 / 4.02 GB, free: 65.21 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001258/11.02, allocations: 1.007 MB / 4.021 GB, free: 64.92 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005084/11.02, allocations: 2.512 MB / 4.023 GB, free: 64.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/11.02, allocations: 3.844 kB / 4.023 GB, free: 64.55 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/11.03, allocations: 249 kB / 4.024 GB, free: 64.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.085e-05/11.03, allocations: 4.844 kB / 4.024 GB, free: 64.54 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.962e-05/11.03, allocations: 17.06 kB / 4.024 GB, free: 64.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.378e-06/11.03, allocations: 10.94 kB / 4.024 GB, free: 64.54 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/11.03, allocations: 0 / 4.024 GB, free: 64.54 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/11.03, allocations: 1.778 MB / 4.025 GB, free: 64.07 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009225/11.03, allocations: 327.8 kB / 4.026 GB, free: 63.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003753/11.03, allocations: 7.031 kB / 4.026 GB, free: 63.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/11.03, allocations: 132.1 kB / 4.026 GB, free: 63.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/11.03, allocations: 60.28 kB / 4.026 GB, free: 63.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.276e-05/11.03, allocations: 46.05 kB / 4.026 GB, free: 63.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00123/11.03, allocations: 0.6543 MB / 4.027 GB, free: 63.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/11.03, allocations: 0 / 4.027 GB, free: 63.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004141/11.04, allocations: 0.9146 MB / 4.027 GB, free: 63.75 MB / 0.7292 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 () * 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.005838/11.04, allocations: 3.337 MB / 4.031 GB, free: 62.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002705/11.05, allocations: 1.564 MB / 4.032 GB, free: 62.37 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/11.05, allocations: 3.938 kB / 4.032 GB, free: 62.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006335/11.05, allocations: 467.1 kB / 4.033 GB, free: 62.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004849/11.05, allocations: 0.8587 MB / 4.033 GB, free: 62.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/11.06, allocations: 2.736 MB / 4.036 GB, free: 61.57 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001238/11.06, allocations: 1.475 MB / 4.038 GB, free: 60.83 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002948/11.06, allocations: 0.6377 MB / 4.038 GB, free: 60.74 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003615/11.06, allocations: 103.6 kB / 4.038 GB, free: 60.73 MB / 0.7292 GB Notification: Performance of SimCode: time 1.593e-06/11.06, allocations: 0 / 4.038 GB, free: 60.73 MB / 0.7292 GB Notification: Performance of Templates: time 0.07214/11.13, allocations: 44.32 MB / 4.082 GB, free: 40.65 MB / 0.7292 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)