Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9309/0.9309, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001254/0.001254, allocations: 184.8 kB / 182.2 MB, free: 9.461 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.534/1.534, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.001005/0.001005, allocations: 88.11 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 273.1 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.154e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5484/0.5484, allocations: 82.77 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.296/6.845, allocations: 2.125 GB / 2.883 GB, free: 162.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/6.845, allocations: 97.36 kB / 2.883 GB, free: 162.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.984/8.83, allocations: 480.8 MB / 3.352 GB, free: 153.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.673e-06/8.83, allocations: 0 / 3.352 GB, free: 153.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002765/8.83, allocations: 37.09 kB / 3.352 GB, free: 153.4 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.005629/8.836, allocations: 1.513 MB / 3.354 GB, free: 152.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.547e-05/8.836, allocations: 11.12 kB / 3.354 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004145/8.84, allocations: 483.4 kB / 3.354 GB, free: 152.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004101/8.844, allocations: 1.299 MB / 3.356 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-05/8.844, allocations: 33.91 kB / 3.356 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005136/8.845, allocations: 66.03 kB / 3.356 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002938/8.848, allocations: 1.115 MB / 3.357 GB, free: 152.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/8.85, allocations: 1.073 MB / 3.358 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/8.85, allocations: 6.719 kB / 3.358 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/8.85, allocations: 7.203 kB / 3.358 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.675e-05/8.851, allocations: 33.84 kB / 3.358 GB, free: 152.3 MB / 0.698 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.008567/8.859, allocations: 4.66 MB / 3.362 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001367/8.86, allocations: 0.9276 MB / 3.363 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007235/8.861, allocations: 0.5332 MB / 3.364 GB, free: 150.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003669/8.862, allocations: 203.3 kB / 3.364 GB, free: 150.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/8.862, allocations: 42 kB / 3.364 GB, free: 150 MB / 0.698 GB Notification: Performance of pre-optimization done (n=78): time 3.887e-06/8.862, allocations: 0 / 3.364 GB, free: 150 MB / 0.698 GB Notification: Performance of matching and sorting (n=81): time 0.005745/8.867, allocations: 2.443 MB / 3.366 GB, free: 149.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/8.867, allocations: 60 kB / 3.366 GB, free: 149.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001379/8.869, allocations: 0.7541 MB / 3.367 GB, free: 149.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/8.869, allocations: 25.7 kB / 3.367 GB, free: 149.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004746/8.869, allocations: 0.5342 MB / 3.368 GB, free: 149.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/8.87, allocations: 273.1 kB / 3.368 GB, free: 149 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/8.87, allocations: 0 / 3.368 GB, free: 149 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001139/8.87, allocations: 349.8 kB / 3.368 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005772/8.871, allocations: 408.7 kB / 3.369 GB, free: 148.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007813/8.871, allocations: 0.5815 MB / 3.369 GB, free: 148.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007911/8.872, allocations: 0.5234 MB / 3.37 GB, free: 148.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/8.872, allocations: 3.172 kB / 3.37 GB, free: 148.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001805/8.874, allocations: 1.16 MB / 3.371 GB, free: 148.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002978/8.874, allocations: 1.046 MB / 3.372 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/8.874, allocations: 3.625 kB / 3.372 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002612/8.875, allocations: 75.14 kB / 3.372 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/8.876, allocations: 194.4 kB / 3.372 GB, free: 147.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/8.878, allocations: 2.934 MB / 3.375 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/8.879, allocations: 127.1 kB / 3.375 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/8.88, allocations: 28.59 kB / 3.375 GB, free: 144.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/8.88, allocations: 7.312 kB / 3.375 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001505/8.881, allocations: 1.018 MB / 3.376 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/8.881, allocations: 3.5 kB / 3.376 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001816/8.881, allocations: 68.47 kB / 3.376 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007047/8.882, allocations: 175.2 kB / 3.377 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/8.883, allocations: 1.752 MB / 3.378 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/8.885, allocations: 124.6 kB / 3.378 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/8.885, allocations: 28.03 kB / 3.378 GB, free: 143.5 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0003573/8.886, allocations: 123.9 kB / 3.378 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004172/8.886, allocations: 106.6 kB / 3.379 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/8.888, allocations: 1.1 MB / 3.38 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/8.889, allocations: 9.969 kB / 3.38 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/8.889, allocations: 0 / 3.38 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001633/8.89, allocations: 1.178 MB / 3.381 GB, free: 142.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005798/8.896, allocations: 2.564 MB / 3.383 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/8.896, allocations: 6.719 kB / 3.383 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/8.897, allocations: 247.9 kB / 3.384 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002402/8.897, allocations: 65.45 kB / 3.384 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.697e-05/8.898, allocations: 14.14 kB / 3.384 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002385/8.9, allocations: 2.929 MB / 3.387 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-06/8.9, allocations: 3.562 kB / 3.387 GB, free: 140.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/8.903, allocations: 1.949 MB / 3.388 GB, free: 139.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/8.904, allocations: 317.3 kB / 3.389 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003817/8.904, allocations: 7.359 kB / 3.389 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/8.906, allocations: 100.8 kB / 3.389 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/8.906, allocations: 57.64 kB / 3.389 GB, free: 139.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.388e-05/8.906, allocations: 30.8 kB / 3.389 GB, free: 139.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001057/8.907, allocations: 0.5917 MB / 3.389 GB, free: 139.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.72e-07/8.907, allocations: 0 / 3.389 GB, free: 139.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004099/8.911, allocations: 0.7185 MB / 3.39 GB, free: 139.4 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * 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.003791/8.915, allocations: 1.521 MB / 3.392 GB, free: 139.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004178/8.919, allocations: 1.812 MB / 3.393 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/8.919, allocations: 0 / 3.393 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/8.92, allocations: 0.6299 MB / 3.394 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005123/8.926, allocations: 0.7422 MB / 3.395 GB, free: 138.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/8.931, allocations: 2.543 MB / 3.397 GB, free: 138.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001583/8.933, allocations: 1.442 MB / 3.399 GB, free: 137.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003217/8.936, allocations: 0.9488 MB / 3.4 GB, free: 137.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/8.937, allocations: 73.31 kB / 3.4 GB, free: 137.4 MB / 0.698 GB Notification: Performance of SimCode: time 1.493e-06/8.937, allocations: 0 / 3.4 GB, free: 137.4 MB / 0.698 GB Notification: Performance of Templates: time 0.05625/8.993, allocations: 33.1 MB / 3.432 GB, free: 135.9 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)