Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.184/2.184, allocations: 387.4 MB / 394.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 176.8 kB / 487.4 MB, free: 5.047 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.563/1.563, allocations: 221.5 MB / 0.7824 GB, free: 0.9453 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 103.7 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.638e-05/1.64e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3123, allocations: 142.4 MB / 1.206 GB, free: 43.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.31/1.623, allocations: 452.6 MB / 1.648 GB, free: 2.355 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.623, allocations: 93.83 kB / 1.648 GB, free: 2.312 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.709/6.332, allocations: 1.176 GB / 2.824 GB, free: 218.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.914e-06/6.332, allocations: 3.625 kB / 2.824 GB, free: 218.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004541/6.333, allocations: 54.91 kB / 2.825 GB, free: 218.4 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.006939/6.34, allocations: 2.024 MB / 2.827 GB, free: 217.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/6.34, allocations: 10.09 kB / 2.827 GB, free: 217.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003519/6.343, allocations: 0.5342 MB / 2.827 GB, free: 217.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007865/6.351, allocations: 2.308 MB / 2.829 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/6.351, allocations: 33.66 kB / 2.829 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000486/6.352, allocations: 71.28 kB / 2.829 GB, free: 216.1 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002257/6.354, allocations: 0.7966 MB / 2.83 GB, free: 215.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002467/6.357, allocations: 1.068 MB / 2.831 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/6.357, allocations: 3.906 kB / 2.831 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/6.357, allocations: 3.953 kB / 2.831 GB, free: 215.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.402e-05/6.357, allocations: 45.02 kB / 2.831 GB, free: 215.2 MB / 1.151 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.01054/6.367, allocations: 6.771 MB / 2.838 GB, free: 210.2 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/6.369, allocations: 1.148 MB / 2.839 GB, free: 209.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004896/6.369, allocations: 329 kB / 2.839 GB, free: 209.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005663/6.375, allocations: 3.036 MB / 2.842 GB, free: 206.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005892/6.376, allocations: 336.5 kB / 2.843 GB, free: 206.6 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009026/6.377, allocations: 81.94 kB / 2.843 GB, free: 206.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 4.038e-06/6.377, allocations: 0 / 2.843 GB, free: 206.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.007277/6.384, allocations: 1.496 MB / 2.844 GB, free: 206.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.793e-05/6.384, allocations: 115.1 kB / 2.844 GB, free: 206.1 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003673/6.388, allocations: 1.217 MB / 2.845 GB, free: 205.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001786/6.388, allocations: 32.73 kB / 2.845 GB, free: 205.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001234/6.389, allocations: 0.8642 MB / 2.846 GB, free: 204.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002955/6.389, allocations: 210.8 kB / 2.847 GB, free: 204.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.784e-05/6.389, allocations: 0 / 2.847 GB, free: 204.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001356/6.39, allocations: 343.9 kB / 2.847 GB, free: 204.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/6.39, allocations: 254.6 kB / 2.847 GB, free: 204.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/6.391, allocations: 0.6593 MB / 2.848 GB, free: 203.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006164/6.397, allocations: 1.164 MB / 2.849 GB, free: 203.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.167e-05/6.397, allocations: 3.188 kB / 2.849 GB, free: 203.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.007633/6.405, allocations: 1.792 MB / 2.851 GB, free: 202.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001352/6.406, allocations: 4.452 MB / 2.855 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.793e-05/6.406, allocations: 9.469 kB / 2.855 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.712e-05/6.406, allocations: 19.16 kB / 2.855 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/6.407, allocations: 257.2 kB / 2.855 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.658e-05/6.408, allocations: 21.47 kB / 2.855 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/6.409, allocations: 113.7 kB / 2.855 GB, free: 197.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000175/6.41, allocations: 61.81 kB / 2.855 GB, free: 197.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/6.41, allocations: 6.891 kB / 2.855 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006781/6.416, allocations: 1.587 MB / 2.857 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/6.416, allocations: 14.16 kB / 2.857 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/6.416, allocations: 18.47 kB / 2.857 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009707/6.417, allocations: 247.9 kB / 2.857 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.345e-05/6.417, allocations: 27.92 kB / 2.857 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/6.419, allocations: 98.81 kB / 2.857 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/6.419, allocations: 59.94 kB / 2.857 GB, free: 197.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 118 * Array equations: 1 * Algorithm blocks: 1 * 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.0003213/6.42, allocations: 144.1 kB / 2.858 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000507/6.42, allocations: 168.1 kB / 2.858 GB, free: 196.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007052/6.427, allocations: 1.695 MB / 2.859 GB, free: 196.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/6.427, allocations: 10.75 kB / 2.859 GB, free: 196.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/6.427, allocations: 3.469 kB / 2.859 GB, free: 196.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005973/6.433, allocations: 1.546 MB / 2.861 GB, free: 195.3 MB / 1.151 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 postOpt removeSimpleEquations (simulation): time 0.01018/6.443, allocations: 2.807 MB / 2.864 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/6.444, allocations: 3.938 kB / 2.864 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007272/6.444, allocations: 151.9 kB / 2.864 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001929/6.444, allocations: 31.25 kB / 2.864 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.287e-05/6.445, allocations: 15.22 kB / 2.864 GB, free: 193.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009023/6.445, allocations: 1.269 MB / 2.865 GB, free: 192.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/6.446, allocations: 3.5 kB / 2.865 GB, free: 192.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007024/6.453, allocations: 2.078 MB / 2.867 GB, free: 191.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/6.454, allocations: 330.5 kB / 2.867 GB, free: 191.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005043/6.454, allocations: 7.938 kB / 2.867 GB, free: 191.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/6.455, allocations: 83.09 kB / 2.868 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/6.456, allocations: 53.8 kB / 2.868 GB, free: 191 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.58e-05/6.456, allocations: 34.75 kB / 2.868 GB, free: 191 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001867/6.458, allocations: 0.904 MB / 2.868 GB, free: 190.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.2e-07/6.458, allocations: 0 / 2.868 GB, free: 190.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004847/6.462, allocations: 0.9668 MB / 2.869 GB, free: 190.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002934/6.465, allocations: 1.198 MB / 2.871 GB, free: 189.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002255/6.468, allocations: 1.297 MB / 2.872 GB, free: 189.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/6.468, allocations: 0 / 2.872 GB, free: 189.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000756/6.468, allocations: 444.7 kB / 2.872 GB, free: 189 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00334/6.472, allocations: 0.6215 MB / 2.873 GB, free: 188.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005271/6.477, allocations: 2.273 MB / 2.875 GB, free: 187.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/6.478, allocations: 1.398 MB / 2.876 GB, free: 186.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003034/6.481, allocations: 0.6008 MB / 2.877 GB, free: 186.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/6.482, allocations: 101.8 kB / 2.877 GB, free: 186.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.012e-06/6.482, allocations: 0 / 2.877 GB, free: 186.3 MB / 1.151 GB Notification: Performance of Templates: time 0.05407/6.536, allocations: 31.59 MB / 2.908 GB, free: 158.3 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches