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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008159/0.0008159, allocations: 97.95 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004951/0.004951, allocations: 170 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001698/0.001698, allocations: 266.9 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9114/0.9114, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004283, allocations: 20.39 kB / 0.5987 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1884, allocations: 88.54 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6092/0.7976, allocations: 237.2 MB / 0.9167 GB, free: 2.559 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02207/0.8197, allocations: 15.93 MB / 0.9323 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002689/0.8224, allocations: 71.5 kB / 0.9324 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003309/0.8258, allocations: 1.01 MB / 0.9334 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01076/0.8366, allocations: 3.605 MB / 0.9369 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005109/0.8417, allocations: 1.609 MB / 0.9384 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008839/0.8506, allocations: 7.437 MB / 0.9457 GB, free: 4.832 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002666/0.8533, allocations: 1.379 MB / 0.9471 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006599/0.8599, allocations: 2.303 MB / 0.9493 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004469/0.8644, allocations: 1.735 MB / 0.951 GB, free: 15.37 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004438/0.8648, allocations: 88 kB / 0.9511 GB, free: 15.29 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00622/0.8711, allocations: 3.133 MB / 0.9541 GB, free: 12.14 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001088/0.8722, allocations: 0.6736 MB / 0.9548 GB, free: 11.47 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.8739, allocations: 1.059 MB / 0.9558 GB, free: 10.4 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006434/0.8804, allocations: 3.605 MB / 0.9594 GB, free: 6.781 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8804, allocations: 0 / 0.9594 GB, free: 6.781 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.863e-06/0.8804, allocations: 0 / 0.9594 GB, free: 6.781 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.109e-05/0.8805, allocations: 0 / 0.9594 GB, free: 6.781 MB / 0.67 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.003916/0.8844, allocations: 2.118 MB / 0.9614 GB, free: 4.609 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.8845, allocations: 8.031 kB / 0.9614 GB, free: 4.602 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00309/0.8876, allocations: 0.5087 MB / 0.9619 GB, free: 4.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/0.8899, allocations: 1.269 MB / 0.9632 GB, free: 2.766 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.8901, allocations: 178.2 kB / 0.9633 GB, free: 2.578 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/0.8903, allocations: 155.9 kB / 0.9635 GB, free: 2.426 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003067/0.8934, allocations: 1.745 MB / 0.9652 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/0.8934, allocations: 0 / 0.9652 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.8936, allocations: 68 kB / 0.9653 GB, free: 0.5391 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.123e-05/0.8937, allocations: 58.69 kB / 0.9653 GB, free: 492 kB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002695/0.8964, allocations: 1.396 MB / 0.9667 GB, free: 15.08 MB / 0.6856 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.009769/0.9062, allocations: 8.214 MB / 0.9747 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.9078, allocations: 0.9102 MB / 0.9756 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000867/0.9086, allocations: 0.5502 MB / 0.9761 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006022/0.9093, allocations: 332.2 kB / 0.9764 GB, free: 4.32 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.9093, allocations: 47.55 kB / 0.9765 GB, free: 4.262 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=96): time 2.565e-06/0.9093, allocations: 0 / 0.9765 GB, free: 4.262 MB / 0.6856 GB Notification: Performance of matching and sorting (n=102): time 0.007192/0.9165, allocations: 3.179 MB / 0.9796 GB, free: 1.031 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.9166, allocations: 64.34 kB / 0.9796 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.9182, allocations: 1.262 MB / 0.9809 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.9183, allocations: 49.7 kB / 0.9809 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006066/0.9189, allocations: 0.8132 MB / 0.9817 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/0.9192, allocations: 362.8 kB / 0.9821 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000133/0.9194, allocations: 101.7 kB / 0.9822 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.9195, allocations: 357.9 kB / 0.9825 GB, free: 13.99 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000816/0.9203, allocations: 442.4 kB / 0.9829 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.9214, allocations: 0.8377 MB / 0.9837 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.9233, allocations: 1.264 MB / 0.985 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.9233, allocations: 3.938 kB / 0.985 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002474/0.9258, allocations: 1.433 MB / 0.9864 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002194/0.926, allocations: 368.5 kB / 0.9867 GB, free: 9.234 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.9261, allocations: 8 kB / 0.9867 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.9261, allocations: 19.94 kB / 0.9868 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.9272, allocations: 283.5 kB / 0.987 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/0.9272, allocations: 15.94 kB / 0.987 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.9289, allocations: 180.9 kB / 0.9872 GB, free: 8.738 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-05/0.929, allocations: 59.98 kB / 0.9873 GB, free: 8.68 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.929, allocations: 7.938 kB / 0.9873 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002054/0.9311, allocations: 1.241 MB / 0.9885 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.9311, allocations: 8.938 kB / 0.9885 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.9311, allocations: 16 kB / 0.9885 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.9322, allocations: 279.6 kB / 0.9888 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.9322, allocations: 19.92 kB / 0.9888 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.9339, allocations: 171.7 kB / 0.989 GB, free: 6.945 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.589e-05/0.934, allocations: 48 kB / 0.989 GB, free: 6.898 MB / 0.7012 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008743/0.9348, allocations: 0.5122 MB / 0.9895 GB, free: 6.375 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/0.9351, allocations: 170 kB / 0.9897 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.9373, allocations: 1.182 MB / 0.9908 GB, free: 5.016 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.9373, allocations: 12 kB / 0.9908 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.9373, allocations: 0 / 0.9908 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001686/0.939, allocations: 1.099 MB / 0.9919 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004603/0.9436, allocations: 2.801 MB / 0.9947 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.9436, allocations: 0 / 0.9947 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.9448, allocations: 251.7 kB / 0.9949 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.526e-06/0.9448, allocations: 8.219 kB / 0.9949 GB, free: 0.7148 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.173e-05/0.9448, allocations: 27.98 kB / 0.9949 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.376e-06/0.9449, allocations: 7.938 kB / 0.9949 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.9449, allocations: 0 / 0.9949 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002848/0.9477, allocations: 1.797 MB / 0.9967 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000686/0.9484, allocations: 339 kB / 0.997 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.9486, allocations: 24 kB / 0.997 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.9498, allocations: 153.2 kB / 0.9972 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.95, allocations: 64.95 kB / 0.9972 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.1e-05/0.9501, allocations: 39.97 kB / 0.9973 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001099/0.9512, allocations: 0.8465 MB / 0.9981 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9512, allocations: 0 / 0.9981 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002038/0.9532, allocations: 0.7656 MB / 0.9989 GB, free: 12.61 MB / 0.7169 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005908/0.9538, allocations: 287.3 kB / 0.9991 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003044/0.9569, allocations: 1.752 MB / 1.001 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.9569, allocations: 4.062 kB / 1.001 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008419/0.9577, allocations: 0.5248 MB / 1.001 GB, free: 10.05 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005004/0.9627, allocations: 0.9658 MB / 1.002 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005943/0.9687, allocations: 4.369 MB / 1.007 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.9697, allocations: 1.441 MB / 1.008 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002185/0.9719, allocations: 0.5602 MB / 1.009 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.9723, allocations: 127.4 kB / 1.009 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of SimCode: time 8.41e-07/0.9723, allocations: 0 / 1.009 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of Templates: time 0.04973/1.022, allocations: 30.27 MB / 1.038 GB, free: 4.684 MB / 0.7481 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)