Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") translateModel(Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.652/1.652, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009388/0.0009387, allocations: 179 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 223.2 MB / 0.6626 GB, free: 4.348 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008648/0.0008649, allocations: 97.05 kB / 0.7808 GB, free: 43.77 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004824, allocations: 16.78 kB / 0.9088 GB, free: 0.7031 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7665/0.767, allocations: 120.3 MB / 1.026 GB, free: 56.81 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.105/6.872, allocations: 2.158 GB / 3.185 GB, free: 329.2 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003914/6.873, allocations: 102.3 kB / 3.185 GB, free: 329.2 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.087/8.96, allocations: 0.701 GB / 3.886 GB, free: 51.18 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.122e-06/8.96, allocations: 11.94 kB / 3.886 GB, free: 51.17 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001061/8.96, allocations: 39.98 kB / 3.886 GB, free: 51.13 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.003283/8.963, allocations: 1.785 MB / 3.888 GB, free: 49.29 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/8.963, allocations: 8.031 kB / 3.888 GB, free: 49.28 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002684/8.966, allocations: 490.6 kB / 3.888 GB, free: 48.8 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002362/8.968, allocations: 1.375 MB / 3.889 GB, free: 47.38 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.927e-05/8.968, allocations: 82.44 kB / 3.889 GB, free: 47.29 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/8.968, allocations: 112.4 kB / 3.89 GB, free: 47.18 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001836/8.97, allocations: 1.312 MB / 3.891 GB, free: 45.84 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/8.97, allocations: 11.84 kB / 3.891 GB, free: 45.83 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.774e-05/8.97, allocations: 40 kB / 3.891 GB, free: 45.79 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/8.97, allocations: 45.98 kB / 3.891 GB, free: 45.74 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/8.972, allocations: 1.238 MB / 3.892 GB, free: 44.5 MB / 0.9792 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.005483/8.978, allocations: 5.026 MB / 3.897 GB, free: 39.08 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/8.979, allocations: 1.035 MB / 3.898 GB, free: 38.04 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/8.979, allocations: 0.5909 MB / 3.899 GB, free: 37.45 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/8.98, allocations: 204 kB / 3.899 GB, free: 37.21 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/8.98, allocations: 47.22 kB / 3.899 GB, free: 37.16 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=81): time 3.106e-06/8.98, allocations: 0 / 3.899 GB, free: 37.16 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84): time 0.004942/8.985, allocations: 3.092 MB / 3.902 GB, free: 34 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/8.985, allocations: 60.41 kB / 3.902 GB, free: 33.93 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/8.986, allocations: 1.021 MB / 3.903 GB, free: 32.89 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/8.986, allocations: 49.7 kB / 3.903 GB, free: 32.84 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/8.986, allocations: 0.5431 MB / 3.904 GB, free: 32.29 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/8.986, allocations: 295.6 kB / 3.904 GB, free: 31.99 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/8.986, allocations: 16 kB / 3.904 GB, free: 31.98 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.2e-05/8.986, allocations: 345.9 kB / 3.904 GB, free: 31.63 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/8.987, allocations: 449.6 kB / 3.905 GB, free: 31.19 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005712/8.987, allocations: 0.6075 MB / 3.905 GB, free: 30.53 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/8.989, allocations: 1.076 MB / 3.906 GB, free: 29.43 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/8.989, allocations: 4 kB / 3.906 GB, free: 29.43 MB / 0.9792 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001498/8.99, allocations: 1.258 MB / 3.907 GB, free: 28.15 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.104e-05/8.99, allocations: 148.1 kB / 3.908 GB, free: 27.98 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/8.99, allocations: 4 kB / 3.908 GB, free: 27.98 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002056/8.99, allocations: 72.8 kB / 3.908 GB, free: 27.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009815/8.991, allocations: 215.6 kB / 3.908 GB, free: 27.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/8.993, allocations: 2.995 MB / 3.911 GB, free: 24.52 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/8.995, allocations: 143.6 kB / 3.911 GB, free: 24.38 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-05/8.995, allocations: 35.98 kB / 3.911 GB, free: 24.34 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/8.995, allocations: 5.719 kB / 3.911 GB, free: 24.34 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001443/8.996, allocations: 1.133 MB / 3.912 GB, free: 23.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/8.996, allocations: 7.938 kB / 3.912 GB, free: 23.19 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/8.996, allocations: 64.81 kB / 3.912 GB, free: 23.12 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000624/8.997, allocations: 179.8 kB / 3.912 GB, free: 22.95 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/8.998, allocations: 1.803 MB / 3.914 GB, free: 21.01 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/9, allocations: 143.6 kB / 3.914 GB, free: 20.87 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/9, allocations: 28 kB / 3.914 GB, free: 20.84 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008917/9.001, allocations: 0.6137 MB / 3.915 GB, free: 20.22 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001703/9.001, allocations: 118.6 kB / 3.915 GB, free: 20.1 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/9.002, allocations: 1.244 MB / 3.916 GB, free: 18.84 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/9.002, allocations: 11.94 kB / 3.916 GB, free: 18.83 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/9.002, allocations: 3.984 kB / 3.916 GB, free: 18.83 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/9.004, allocations: 1.284 MB / 3.917 GB, free: 17.47 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003683/9.007, allocations: 2.894 MB / 3.92 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/9.007, allocations: 0 / 3.92 GB, free: 14.49 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/9.008, allocations: 243.7 kB / 3.921 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/9.009, allocations: 77.05 kB / 3.921 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.528e-05/9.009, allocations: 24 kB / 3.921 GB, free: 14.15 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/9.01, allocations: 2.983 MB / 3.924 GB, free: 10.99 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/9.01, allocations: 7.938 kB / 3.924 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/9.012, allocations: 2.02 MB / 3.926 GB, free: 8.922 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006036/9.013, allocations: 343.5 kB / 3.926 GB, free: 8.566 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/9.013, allocations: 23.94 kB / 3.926 GB, free: 8.543 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009198/9.014, allocations: 119.7 kB / 3.926 GB, free: 8.426 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/9.014, allocations: 60.52 kB / 3.926 GB, free: 8.363 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.543e-05/9.014, allocations: 31.98 kB / 3.926 GB, free: 8.332 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0007788/9.015, allocations: 0.724 MB / 3.927 GB, free: 7.598 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.21e-07/9.015, allocations: 0 / 3.927 GB, free: 7.598 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002124/9.017, allocations: 0.8007 MB / 3.928 GB, free: 6.797 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].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 (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001687/9.019, allocations: 1.386 MB / 3.929 GB, free: 5.375 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002593/9.021, allocations: 1.934 MB / 3.931 GB, free: 3.414 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/9.021, allocations: 4.125 kB / 3.931 GB, free: 3.41 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007578/9.022, allocations: 0.6932 MB / 3.931 GB, free: 2.703 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0037/9.026, allocations: 0.7906 MB / 3.932 GB, free: 1.922 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4711/9.497, allocations: 3.77 MB / 3.936 GB, free: 207.2 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001304/9.498, allocations: 1.451 MB / 3.937 GB, free: 206.5 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002659/9.501, allocations: 0.7012 MB / 3.938 GB, free: 206.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/9.501, allocations: 98.88 kB / 3.938 GB, free: 206.5 MB / 0.9792 GB Notification: Performance of SimCode: time 1.283e-06/9.501, allocations: 0.8438 kB / 3.938 GB, free: 206.5 MB / 0.9792 GB Notification: Performance of Templates: time 0.06703/9.568, allocations: 43.33 MB / 3.98 GB, free: 205.9 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.pipe 2>&1)