Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001168/0.001168, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008584/0.0008583, allocations: 94.59 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.096e-05, allocations: 0 / 343.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 51.48 MB / 395.3 MB, free: 4.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3635/0.4742, allocations: 81.3 MB / 476.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.4745, allocations: 73.38 kB / 476.6 MB, free: 10.97 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07887/0.5534, allocations: 18.86 MB / 495.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5535, allocations: 0 / 495.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.968e-05/0.5536, allocations: 23.94 kB / 495.5 MB, free: 12.27 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.00347/0.5571, allocations: 1.152 MB / 496.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.5571, allocations: 12.03 kB / 496.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000463/0.5576, allocations: 127.5 kB / 496.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.5593, allocations: 0.5929 MB / 497.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000334/0.5597, allocations: 131.1 kB / 497.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/0.5599, allocations: 41.97 kB / 497.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001729/0.5616, allocations: 0.5261 MB / 498.1 MB, free: 9.941 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.5635, allocations: 0.8181 MB / 498.9 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.5636, allocations: 0 / 498.9 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.621e-05/0.5637, allocations: 0 / 498.9 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.5637, allocations: 16 kB / 498.9 MB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00569/0.5694, allocations: 2.428 MB / 0.4896 GB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/0.5721, allocations: 0.8415 MB / 0.4904 GB, free: 6.59 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004892/0.5726, allocations: 308.3 kB / 0.4907 GB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.116e-05/0.5727, allocations: 19.64 kB / 0.4907 GB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.5728, allocations: 45.47 kB / 0.4908 GB, free: 6.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.876e-06/0.5728, allocations: 0 / 0.4908 GB, free: 6.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.001285/0.5741, allocations: 0.6762 MB / 0.4914 GB, free: 5.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003992/0.5745, allocations: 0.952 MB / 0.4924 GB, free: 4.629 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007644/0.5752, allocations: 0.5763 MB / 0.4929 GB, free: 4.105 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/0.5753, allocations: 25.7 kB / 0.4929 GB, free: 4.074 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002929/0.5756, allocations: 417.6 kB / 0.4933 GB, free: 3.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.5758, allocations: 248.2 kB / 0.4936 GB, free: 3.414 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.5759, allocations: 9.859 kB / 0.4936 GB, free: 3.406 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.576, allocations: 330 kB / 0.4939 GB, free: 3.078 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.5763, allocations: 213.5 kB / 0.4941 GB, free: 2.871 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006304/0.577, allocations: 0.5154 MB / 0.4946 GB, free: 2.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.5775, allocations: 277.4 kB / 0.4949 GB, free: 1.961 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.5775, allocations: 0 / 0.4949 GB, free: 1.961 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001373/0.5789, allocations: 0.7883 MB / 0.4957 GB, free: 1.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.526e-05/0.5789, allocations: 93.09 kB / 0.4957 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.579, allocations: 0 / 0.4957 GB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005353/0.5795, allocations: 164.1 kB / 0.4959 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.5802, allocations: 167.8 kB / 0.4961 GB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005301/0.5855, allocations: 6.532 MB / 0.5024 GB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008856/0.5864, allocations: 79.34 kB / 0.5025 GB, free: 9.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.5866, allocations: 27.98 kB / 0.5025 GB, free: 9.484 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: outerPump.flowPort_b.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absolutePressure.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: innerPipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004106/0.587, allocations: 140.8 kB / 0.5027 GB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001448/0.5885, allocations: 0.6752 MB / 0.5033 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/0.5887, allocations: 90.97 kB / 0.5034 GB, free: 8.559 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.589, allocations: 96.92 kB / 0.5035 GB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.589, allocations: 8 kB / 0.5035 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.5891, allocations: 0 / 0.5035 GB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001005/0.5901, allocations: 0.8831 MB / 0.5044 GB, free: 7.461 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/0.5929, allocations: 1.567 MB / 0.5059 GB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.5929, allocations: 0 / 0.5059 GB, free: 5.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007885/0.5937, allocations: 171.8 kB / 0.5061 GB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.229e-05/0.5938, allocations: 24.84 kB / 0.5061 GB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.924e-05/0.5939, allocations: 7.984 kB / 0.5061 GB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008407/0.5947, allocations: 1.262 MB / 0.5073 GB, free: 4.254 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5947, allocations: 7.953 kB / 0.5073 GB, free: 4.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.5961, allocations: 0.9478 MB / 0.5083 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/0.5966, allocations: 247.7 kB / 0.5085 GB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.5967, allocations: 7.953 kB / 0.5085 GB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/0.5973, allocations: 32.03 kB / 0.5085 GB, free: 2.977 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.462e-05/0.5974, allocations: 48.72 kB / 0.5086 GB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.5974, allocations: 19.98 kB / 0.5086 GB, free: 2.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005972/0.598, allocations: 451.2 kB / 0.509 GB, free: 2.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.598, allocations: 0 / 0.509 GB, free: 2.473 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008603/0.5989, allocations: 279.5 kB / 0.5093 GB, free: 2.199 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001702/0.6006, allocations: 1.524 MB / 0.5108 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002205/0.6028, allocations: 1.299 MB / 0.5121 GB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.6029, allocations: 0 / 0.5121 GB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004699/0.6033, allocations: 388.6 kB / 0.5124 GB, free: 14.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.6044, allocations: 226.9 kB / 0.5127 GB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.6073, allocations: 1.355 MB / 0.514 GB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005114/0.6078, allocations: 0.9993 MB / 0.5149 GB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005274/0.6083, allocations: 110.7 kB / 0.5151 GB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004734/0.6088, allocations: 343.3 kB / 0.5154 GB, free: 11.79 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.6088, allocations: 4 kB / 0.5154 GB, free: 11.78 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04963/0.6585, allocations: 21.41 MB / 0.5363 GB, free: 6.719 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.6587, allocations: 140.3 kB / 0.5364 GB, free: 6.531 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.926/3.585, allocations: 3.938 kB / 0.5364 GB, free: 6.527 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat