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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 387.1 MB / 399.7 MB, free: 9.586 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.001079/0.001079, allocations: 183.7 kB / 492.3 MB, free: 0.6523 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.811/1.811, allocations: 221.3 MB / 0.7872 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 91.88 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.71e-05, allocations: 5.641 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3306, allocations: 142.3 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.373/1.703, allocations: 453.2 MB / 1.655 GB, free: 9.52 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.704, allocations: 97.59 kB / 1.655 GB, free: 9.473 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 4.814/6.518, allocations: 1.182 GB / 2.837 GB, free: 206.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.563e-06/6.518, allocations: 0 / 2.837 GB, free: 206.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003683/6.518, allocations: 54.11 kB / 2.837 GB, free: 206.5 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.005904/6.524, allocations: 2.021 MB / 2.839 GB, free: 205.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/6.524, allocations: 10.66 kB / 2.839 GB, free: 205.1 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005164/6.525, allocations: 170.2 kB / 2.839 GB, free: 205 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/6.528, allocations: 0.5295 MB / 2.84 GB, free: 204.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006948/6.535, allocations: 2.304 MB / 2.842 GB, free: 203.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/6.535, allocations: 92.27 kB / 2.842 GB, free: 203.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000411/6.536, allocations: 117.2 kB / 2.842 GB, free: 203.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00285/6.538, allocations: 1.227 MB / 2.844 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/6.538, allocations: 3.656 kB / 2.844 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/6.539, allocations: 53.98 kB / 2.844 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.836e-05/6.539, allocations: 45.31 kB / 2.844 GB, free: 202.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/6.541, allocations: 0.844 MB / 2.844 GB, free: 202 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.01023/6.551, allocations: 6.98 MB / 2.851 GB, free: 195.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/6.552, allocations: 1.137 MB / 2.852 GB, free: 195 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/6.553, allocations: 339 kB / 2.853 GB, free: 194.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005347/6.558, allocations: 3.067 MB / 2.856 GB, free: 192 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006268/6.559, allocations: 365.5 kB / 2.856 GB, free: 191.8 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007839/6.559, allocations: 87.97 kB / 2.856 GB, free: 191.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 6.231e-06/6.559, allocations: 0 / 2.856 GB, free: 191.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.001434/6.561, allocations: 0.6838 MB / 2.857 GB, free: 191.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/6.561, allocations: 118.8 kB / 2.857 GB, free: 191.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/6.563, allocations: 1.318 MB / 2.858 GB, free: 190.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.875e-05/6.563, allocations: 44.73 kB / 2.858 GB, free: 190.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000679/6.564, allocations: 0.8745 MB / 2.859 GB, free: 189.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001519/6.564, allocations: 218.2 kB / 2.859 GB, free: 189.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.427e-05/6.564, allocations: 19.75 kB / 2.859 GB, free: 189.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.593e-05/6.564, allocations: 346.9 kB / 2.86 GB, free: 189.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/6.565, allocations: 266.2 kB / 2.86 GB, free: 189.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005563/6.565, allocations: 0.6711 MB / 2.861 GB, free: 188.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/6.566, allocations: 391.8 kB / 2.861 GB, free: 188.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/6.566, allocations: 0 / 2.861 GB, free: 188.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001639/6.568, allocations: 1.077 MB / 2.862 GB, free: 187.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008313/6.568, allocations: 4.459 MB / 2.866 GB, free: 183 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/6.568, allocations: 15.95 kB / 2.866 GB, free: 183 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.183e-05/6.568, allocations: 17.97 kB / 2.866 GB, free: 183 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009517/6.569, allocations: 251 kB / 2.867 GB, free: 183 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.355e-05/6.569, allocations: 21.72 kB / 2.867 GB, free: 183 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/6.571, allocations: 122.5 kB / 2.867 GB, free: 182.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.816e-05/6.571, allocations: 62.38 kB / 2.867 GB, free: 182.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/6.571, allocations: 6.438 kB / 2.867 GB, free: 182.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/6.572, allocations: 0.9093 MB / 2.868 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/6.572, allocations: 11 kB / 2.868 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/6.572, allocations: 19.03 kB / 2.868 GB, free: 182.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008601/6.573, allocations: 250.7 kB / 2.868 GB, free: 182.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/6.573, allocations: 24.98 kB / 2.868 GB, free: 182.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/6.574, allocations: 122.9 kB / 2.868 GB, free: 182.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-05/6.574, allocations: 51.58 kB / 2.868 GB, free: 182.4 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.0002257/6.575, allocations: 180.9 kB / 2.868 GB, free: 182.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/6.575, allocations: 166.8 kB / 2.868 GB, free: 182.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/6.577, allocations: 0.9683 MB / 2.869 GB, free: 181.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/6.577, allocations: 11.75 kB / 2.869 GB, free: 181.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/6.577, allocations: 0 / 2.869 GB, free: 181.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009135/6.578, allocations: 0.8034 MB / 2.87 GB, free: 181 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.003537/6.581, allocations: 2.22 MB / 2.872 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/6.581, allocations: 0 / 2.872 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006866/6.582, allocations: 146.6 kB / 2.873 GB, free: 179.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001684/6.582, allocations: 27.28 kB / 2.873 GB, free: 179.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/6.582, allocations: 27.12 kB / 2.873 GB, free: 179.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008761/6.583, allocations: 1.308 MB / 2.874 GB, free: 178.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/6.583, allocations: 0 / 2.874 GB, free: 178.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/6.585, allocations: 1.337 MB / 2.875 GB, free: 177.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006594/6.585, allocations: 342.6 kB / 2.875 GB, free: 177.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002189/6.586, allocations: 19.86 kB / 2.876 GB, free: 177.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009216/6.586, allocations: 120.4 kB / 2.876 GB, free: 177.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/6.587, allocations: 50.11 kB / 2.876 GB, free: 177 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/6.587, allocations: 33.88 kB / 2.876 GB, free: 177 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001345/6.588, allocations: 1.067 MB / 2.877 GB, free: 176.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.2e-07/6.588, allocations: 0 / 2.877 GB, free: 176.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003204/6.591, allocations: 0.983 MB / 2.878 GB, free: 176.1 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.004195/6.595, allocations: 3.177 MB / 2.881 GB, free: 173.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002007/6.597, allocations: 1.365 MB / 2.882 GB, free: 171.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/6.597, allocations: 0 / 2.882 GB, free: 171.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006324/6.598, allocations: 474.8 kB / 2.883 GB, free: 171.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003194/6.601, allocations: 0.708 MB / 2.883 GB, free: 170.7 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005412/6.607, allocations: 2.775 MB / 2.886 GB, free: 168 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007223/6.607, allocations: 1.395 MB / 2.887 GB, free: 166.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00236/6.61, allocations: 0.6013 MB / 2.888 GB, free: 166.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007479/6.611, allocations: 0.6891 MB / 2.889 GB, free: 165.4 MB / 1.151 GB Notification: Performance of SimCode: time 2.324e-06/6.611, allocations: 0 / 2.889 GB, free: 165.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0836/6.694, allocations: 56.25 MB / 2.944 GB, free: 110.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/6.694, allocations: 224.1 kB / 2.944 GB, free: 110.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.489/11.18, allocations: 0 / 2.944 GB, free: 110.7 MB / 1.151 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat does not exist to compare? outputFormat=mat