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.259/2.259, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001049/0.001049, allocations: 180.8 kB / 487.4 MB, free: 5.035 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.494/1.494, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 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.0009846/0.0009846, allocations: 97.61 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.956e-05/1.958e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2804, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.412, allocations: 452.6 MB / 1.648 GB, free: 1.988 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/1.413, allocations: 90.39 kB / 1.648 GB, free: 1.945 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.433/5.846, allocations: 1.176 GB / 2.824 GB, free: 218.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.755e-06/5.846, allocations: 3.844 kB / 2.824 GB, free: 218.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002173/5.846, allocations: 59.69 kB / 2.824 GB, free: 218.8 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.0042/5.85, allocations: 2.029 MB / 2.826 GB, free: 217.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/5.85, allocations: 13.38 kB / 2.826 GB, free: 217.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002738/5.853, allocations: 0.5326 MB / 2.827 GB, free: 217.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005517/5.859, allocations: 2.301 MB / 2.829 GB, free: 216.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-05/5.859, allocations: 36.91 kB / 2.829 GB, free: 216.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/5.859, allocations: 74.62 kB / 2.829 GB, free: 216.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001436/5.86, allocations: 0.7882 MB / 2.83 GB, free: 216.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/5.862, allocations: 1.065 MB / 2.831 GB, free: 215.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/5.862, allocations: 5.75 kB / 2.831 GB, free: 215.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.186e-05/5.862, allocations: 10.06 kB / 2.831 GB, free: 215.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/5.862, allocations: 39.48 kB / 2.831 GB, free: 215.7 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.008117/5.87, allocations: 6.777 MB / 2.838 GB, free: 210.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009516/5.871, allocations: 1.145 MB / 2.839 GB, free: 209.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003976/5.872, allocations: 323.5 kB / 2.839 GB, free: 209.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004764/5.876, allocations: 3.04 MB / 2.842 GB, free: 207.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004851/5.877, allocations: 339.4 kB / 2.843 GB, free: 207 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000723/5.878, allocations: 77.86 kB / 2.843 GB, free: 207 MB / 1.151 GB Notification: Performance of pre-optimization done (n=62): time 3.927e-06/5.878, allocations: 0 / 2.843 GB, free: 207 MB / 1.151 GB Notification: Performance of matching and sorting (n=62): time 0.006888/5.885, allocations: 1.497 MB / 2.844 GB, free: 206.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/5.885, allocations: 113.2 kB / 2.844 GB, free: 206.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/5.886, allocations: 1.224 MB / 2.845 GB, free: 205.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001179/5.886, allocations: 25.7 kB / 2.845 GB, free: 205.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006124/5.887, allocations: 0.8623 MB / 2.846 GB, free: 204.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/5.887, allocations: 213.7 kB / 2.846 GB, free: 204.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/5.887, allocations: 2.938 kB / 2.846 GB, free: 204.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.997e-05/5.887, allocations: 343.7 kB / 2.847 GB, free: 204.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003629/5.888, allocations: 253.4 kB / 2.847 GB, free: 204.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005597/5.888, allocations: 0.6557 MB / 2.848 GB, free: 203.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005985/5.894, allocations: 1.171 MB / 2.849 GB, free: 203.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/5.894, allocations: 5.719 kB / 2.849 GB, free: 203.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.007204/5.902, allocations: 1.793 MB / 2.851 GB, free: 202.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008456/5.902, allocations: 4.451 MB / 2.855 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/5.902, allocations: 10.56 kB / 2.855 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-05/5.902, allocations: 19.59 kB / 2.855 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009695/5.903, allocations: 263.1 kB / 2.855 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/5.903, allocations: 17.5 kB / 2.855 GB, free: 197.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/5.905, allocations: 105.7 kB / 2.855 GB, free: 197.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-05/5.905, allocations: 64.2 kB / 2.855 GB, free: 197.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/5.905, allocations: 7.906 kB / 2.855 GB, free: 197.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006624/5.912, allocations: 1.581 MB / 2.857 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/5.912, allocations: 11 kB / 2.857 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/5.912, allocations: 21.98 kB / 2.857 GB, free: 197.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009041/5.913, allocations: 249.3 kB / 2.857 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/5.913, allocations: 23.05 kB / 2.857 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/5.914, allocations: 106.6 kB / 2.857 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-05/5.914, allocations: 50.27 kB / 2.857 GB, free: 197 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.0002663/5.915, allocations: 141.6 kB / 2.857 GB, free: 196.8 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006617/5.921, allocations: 1.474 MB / 2.859 GB, free: 196.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/5.921, allocations: 165.3 kB / 2.859 GB, free: 196.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006732/5.928, allocations: 1.696 MB / 2.861 GB, free: 195.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/5.928, allocations: 10.97 kB / 2.861 GB, free: 195.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/5.928, allocations: 1.375 kB / 2.861 GB, free: 195.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005867/5.934, allocations: 1.552 MB / 2.862 GB, free: 194.6 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.009007/5.943, allocations: 2.805 MB / 2.865 GB, free: 193 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/5.943, allocations: 3.25 kB / 2.865 GB, free: 193 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007163/5.944, allocations: 140.1 kB / 2.865 GB, free: 193 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/5.944, allocations: 35 kB / 2.865 GB, free: 193 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.719e-05/5.944, allocations: 26.41 kB / 2.865 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008584/5.945, allocations: 1.256 MB / 2.866 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/5.945, allocations: 7.156 kB / 2.866 GB, free: 191.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006924/5.952, allocations: 2.076 MB / 2.868 GB, free: 190.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009023/5.953, allocations: 332.7 kB / 2.869 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004353/5.953, allocations: 7.875 kB / 2.869 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/5.955, allocations: 86.94 kB / 2.869 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/5.955, allocations: 55.56 kB / 2.869 GB, free: 190.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/5.955, allocations: 34.12 kB / 2.869 GB, free: 190.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001219/5.956, allocations: 0.9062 MB / 2.87 GB, free: 189.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.5e-07/5.956, allocations: 0 / 2.87 GB, free: 189.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003627/5.96, allocations: 0.9645 MB / 2.871 GB, free: 189.6 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.009133/5.969, allocations: 3.858 MB / 2.875 GB, free: 187.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001778/5.971, allocations: 1.293 MB / 2.876 GB, free: 187 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/5.971, allocations: 2.25 kB / 2.876 GB, free: 187 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005811/5.971, allocations: 450.8 kB / 2.876 GB, free: 186.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002933/5.974, allocations: 0.6023 MB / 2.877 GB, free: 186.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0051/5.979, allocations: 2.698 MB / 2.879 GB, free: 185 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006981/5.98, allocations: 1.399 MB / 2.881 GB, free: 184 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002402/5.982, allocations: 0.5938 MB / 2.881 GB, free: 183.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006824/5.983, allocations: 0.6757 MB / 2.882 GB, free: 183.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.603e-06/5.983, allocations: 0 / 2.882 GB, free: 183.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08131/6.064, allocations: 46.56 MB / 2.928 GB, free: 138 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/6.065, allocations: 170.5 kB / 2.928 GB, free: 137.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.779/9.844, allocations: 0 / 2.928 GB, free: 137.8 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