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.001735/0.001735, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001974/0.001974, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.507/1.507, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002639/0.00264, allocations: 282.9 kB / 290.4 MB, free: 2.055 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.08/1.08, allocations: 178.6 MB / 0.507 GB, free: 4.727 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002793/0.002793, allocations: 95.78 kB / 0.6059 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1901, allocations: 89.15 MB / 0.693 GB, free: 4.695 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6146/0.8048, allocations: 239.7 MB / 0.9271 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02499/0.8298, allocations: 15.86 MB / 0.9426 GB, free: 12.16 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002912/0.8328, allocations: 71.5 kB / 0.9426 GB, free: 12.09 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.836, allocations: 1.053 MB / 0.9437 GB, free: 11.03 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01046/0.8465, allocations: 3.577 MB / 0.9472 GB, free: 7.438 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005104/0.8516, allocations: 1.669 MB / 0.9488 GB, free: 5.781 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008352/0.86, allocations: 5.271 MB / 0.9539 GB, free: 0.5 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00269/0.8627, allocations: 1.628 MB / 0.9555 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007858/0.8706, allocations: 2.604 MB / 0.9581 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004863/0.8755, allocations: 1.809 MB / 0.9598 GB, free: 10.42 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00051/0.876, allocations: 176 kB / 0.96 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006173/0.8822, allocations: 2.829 MB / 0.9628 GB, free: 7.414 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001133/0.8834, allocations: 0.7713 MB / 0.9635 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002138/0.8855, allocations: 1.151 MB / 0.9647 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005941/0.8915, allocations: 3.723 MB / 0.9683 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.8915, allocations: 0 / 0.9683 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8915, allocations: 0 / 0.9683 GB, free: 1.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.955e-05/0.8915, allocations: 0 / 0.9683 GB, free: 1.75 MB / 0.6856 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.004468/0.896, allocations: 2.506 MB / 0.9707 GB, free: 15.19 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.8961, allocations: 8.031 kB / 0.9707 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003001/0.8991, allocations: 0.5009 MB / 0.9712 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/0.9013, allocations: 1.273 MB / 0.9725 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.9015, allocations: 178.2 kB / 0.9726 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.9018, allocations: 148 kB / 0.9728 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.9049, allocations: 1.749 MB / 0.9745 GB, free: 11.19 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.253e-05/0.905, allocations: 7.938 kB / 0.9745 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.9051, allocations: 63.92 kB / 0.9746 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.358e-05/0.9052, allocations: 63.75 kB / 0.9746 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002555/0.9078, allocations: 1.377 MB / 0.976 GB, free: 9.676 MB / 0.7012 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.01023/0.918, allocations: 8.179 MB / 0.984 GB, free: 0.793 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.9197, allocations: 0.8923 MB / 0.9848 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009255/0.9206, allocations: 0.5385 MB / 0.9854 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006378/0.9213, allocations: 320.4 kB / 0.9857 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.9213, allocations: 43.56 kB / 0.9857 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=96): time 2.965e-06/0.9213, allocations: 7.938 kB / 0.9857 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=102): time 0.007188/0.9285, allocations: 3.112 MB / 0.9887 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.9286, allocations: 68.39 kB / 0.9888 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.9303, allocations: 1.266 MB / 0.9901 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.848e-05/0.9304, allocations: 45.7 kB / 0.9901 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000712/0.9312, allocations: 0.821 MB / 0.9909 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003837/0.9315, allocations: 374.6 kB / 0.9913 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/0.9319, allocations: 222.8 kB / 0.9915 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.9321, allocations: 345.9 kB / 0.9918 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008589/0.933, allocations: 451.5 kB / 0.9922 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.9342, allocations: 0.8234 MB / 0.993 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001967/0.9362, allocations: 1.252 MB / 0.9943 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/0.9362, allocations: 11.94 kB / 0.9943 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002559/0.9387, allocations: 1.41 MB / 0.9956 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.9388, allocations: 8 kB / 0.9956 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/0.9388, allocations: 12 kB / 0.9957 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.9388, allocations: 12 kB / 0.9957 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.94, allocations: 275.6 kB / 0.9959 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-05/0.94, allocations: 19.94 kB / 0.996 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.9418, allocations: 171.7 kB / 0.9961 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.676e-05/0.9419, allocations: 52 kB / 0.9962 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001535/0.9434, allocations: 0.7718 MB / 0.9969 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001221/0.9446, allocations: 0.8182 MB / 0.9977 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001982/0.9466, allocations: 1.241 MB / 0.9989 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.731e-06/0.9466, allocations: 0.625 kB / 0.9989 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002701/0.9493, allocations: 1.39 MB / 1 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.9494, allocations: 8 kB / 1 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.9494, allocations: 15.98 kB / 1 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.9494, allocations: 18.44 kB / 1 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.9505, allocations: 267.6 kB / 1.001 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.173e-05/0.9506, allocations: 23.92 kB / 1.001 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/0.9523, allocations: 182.6 kB / 1.001 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001178/0.9524, allocations: 53.56 kB / 1.001 GB, free: 14.75 MB / 0.7325 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.0003949/0.9528, allocations: 268.5 kB / 1.001 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.9531, allocations: 162 kB / 1.001 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002384/0.9555, allocations: 1.15 MB / 1.002 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.9555, allocations: 16 kB / 1.002 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.9555, allocations: 0 / 1.002 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001797/0.9573, allocations: 1.079 MB / 1.003 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005224/0.9626, allocations: 2.797 MB / 1.006 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.9626, allocations: 4 kB / 1.006 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.9639, allocations: 246.2 kB / 1.006 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/0.9639, allocations: 7.938 kB / 1.006 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.957e-05/0.964, allocations: 31.98 kB / 1.006 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/0.964, allocations: 4 kB / 1.006 GB, free: 8.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/0.964, allocations: 4 kB / 1.006 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003271/0.9673, allocations: 1.766 MB / 1.008 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007518/0.968, allocations: 327.1 kB / 1.008 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/0.9682, allocations: 32.11 kB / 1.009 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001244/0.9695, allocations: 142.6 kB / 1.009 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/0.9697, allocations: 72.88 kB / 1.009 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/0.9698, allocations: 39.98 kB / 1.009 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001251/0.971, allocations: 0.8426 MB / 1.01 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.971, allocations: 0 / 1.01 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002055/0.9731, allocations: 0.7617 MB / 1.01 GB, free: 4.816 MB / 0.7325 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.0006188/0.9737, allocations: 275.6 kB / 1.011 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004202/0.9779, allocations: 2.005 MB / 1.013 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.9779, allocations: 7.938 kB / 1.013 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009484/0.9789, allocations: 0.5137 MB / 1.013 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004056/0.983, allocations: 0.9196 MB / 1.014 GB, free: 1.121 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006659/0.9896, allocations: 4.173 MB / 1.018 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.9909, allocations: 1.449 MB / 1.019 GB, free: 11.41 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002278/0.9932, allocations: 0.556 MB / 1.02 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/0.9935, allocations: 131.4 kB / 1.02 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of SimCode: time 9.62e-07/0.9935, allocations: 0 / 1.02 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of Templates: time 0.3689/1.362, allocations: 30.93 MB / 1.05 GB, free: 281.3 MB / 0.7637 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)