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.001805/0.001805, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.2 MB / 245 MB, free: 5.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008962/0.0008962, allocations: 112.3 kB / 297.3 MB, free: 5.98 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002098/0.0002098, allocations: 8 kB / 358 MB, free: 9.234 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2066, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09909/0.3058, allocations: 82.04 MB / 491.5 MB, free: 8.559 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.306, allocations: 71.97 kB / 491.6 MB, free: 8.488 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04881/0.3549, allocations: 19.11 MB / 0.4987 GB, free: 5.238 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3549, allocations: 0 / 0.4987 GB, free: 5.238 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.891e-05/0.355, allocations: 23.94 kB / 0.4988 GB, free: 5.215 MB / 378.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.002724/0.3577, allocations: 1.294 MB / 0.5 GB, free: 3.852 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3578, allocations: 8.031 kB / 0.5 GB, free: 3.844 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002917/0.3581, allocations: 136.4 kB / 0.5002 GB, free: 3.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/0.3584, allocations: 130.6 kB / 0.5003 GB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.3594, allocations: 0.5992 MB / 0.5009 GB, free: 2.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.3597, allocations: 155.1 kB / 0.501 GB, free: 2.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.3598, allocations: 71.91 kB / 0.5011 GB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.3613, allocations: 0.9821 MB / 0.502 GB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.3613, allocations: 0 / 0.502 GB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.3614, allocations: 32 kB / 0.5021 GB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.3614, allocations: 24 kB / 0.5021 GB, free: 1.535 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.3627, allocations: 0.6559 MB / 0.5027 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1784/0.5411, allocations: 2.587 MB / 0.5053 GB, free: 87.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002871/0.544, allocations: 0.9384 MB / 0.5062 GB, free: 87.35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.644e-05/0.5441, allocations: 17.52 kB / 0.5062 GB, free: 87.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.5442, allocations: 54.3 kB / 0.5063 GB, free: 87.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 3.798e-06/0.5442, allocations: 0 / 0.5063 GB, free: 87.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.002739/0.5469, allocations: 1.475 MB / 0.5077 GB, free: 86.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001954/0.5471, allocations: 0.951 MB / 0.5086 GB, free: 85.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.5483, allocations: 0.6915 MB / 0.5093 GB, free: 85.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.5484, allocations: 45.61 kB / 0.5093 GB, free: 85.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.5487, allocations: 411.5 kB / 0.5097 GB, free: 85.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.549, allocations: 259.9 kB / 0.51 GB, free: 85.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.549, allocations: 19.72 kB / 0.51 GB, free: 85.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.823e-05/0.5491, allocations: 336.5 kB / 0.5103 GB, free: 84.85 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007005/0.5498, allocations: 274.2 kB / 0.5106 GB, free: 84.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009461/0.5508, allocations: 0.5954 MB / 0.5112 GB, free: 84.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007389/0.5515, allocations: 416.3 kB / 0.5116 GB, free: 84.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5515, allocations: 0 / 0.5116 GB, free: 84.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001661/0.5532, allocations: 0.998 MB / 0.5125 GB, free: 84.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.038e-05/0.5532, allocations: 82.89 kB / 0.5126 GB, free: 84.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/0.5533, allocations: 6.922 kB / 0.5126 GB, free: 84.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003019/0.5536, allocations: 136 kB / 0.5127 GB, free: 84.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/0.5543, allocations: 157.9 kB / 0.5129 GB, free: 84.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003969/0.5582, allocations: 6.972 MB / 0.5197 GB, free: 77.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007764/0.559, allocations: 119.3 kB / 0.5198 GB, free: 77.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.077e-05/0.5591, allocations: 23.66 kB / 0.5198 GB, free: 77.51 MB / 378.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 73 * 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%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004401/0.5596, allocations: 234.4 kB / 0.5201 GB, free: 77.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002123/0.5598, allocations: 107.2 kB / 0.5202 GB, free: 77.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.56, allocations: 107.6 kB / 0.5203 GB, free: 77.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.56, allocations: 13 kB / 0.5203 GB, free: 77.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.56, allocations: 2.594 kB / 0.5203 GB, free: 77.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/0.5612, allocations: 1.012 MB / 0.5213 GB, free: 76.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.5639, allocations: 1.812 MB / 0.523 GB, free: 75.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.564, allocations: 0 / 0.523 GB, free: 75.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007742/0.5647, allocations: 167.3 kB / 0.5232 GB, free: 75.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.5648, allocations: 31.05 kB / 0.5232 GB, free: 75.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.5649, allocations: 15.48 kB / 0.5232 GB, free: 75.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007676/0.5657, allocations: 1.443 MB / 0.5247 GB, free: 74.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5657, allocations: 0 / 0.5247 GB, free: 74.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.5675, allocations: 1.142 MB / 0.5258 GB, free: 73.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003705/0.5679, allocations: 261.2 kB / 0.526 GB, free: 73.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.568, allocations: 19.12 kB / 0.526 GB, free: 73.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005998/0.5686, allocations: 54.17 kB / 0.5261 GB, free: 73.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.566e-05/0.5687, allocations: 39.58 kB / 0.5261 GB, free: 73.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.5688, allocations: 23.25 kB / 0.5262 GB, free: 73.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006316/0.5694, allocations: 0.5391 MB / 0.5267 GB, free: 73.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5694, allocations: 0 / 0.5267 GB, free: 73.13 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008632/0.5703, allocations: 309.9 kB / 0.527 GB, free: 73.09 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 70 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001887/0.5722, allocations: 1.726 MB / 0.5287 GB, free: 72.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.5739, allocations: 1.44 MB / 0.5301 GB, free: 71.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.5739, allocations: 10.88 kB / 0.5301 GB, free: 71.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005757/0.5745, allocations: 442.8 kB / 0.5305 GB, free: 70.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009057/0.5754, allocations: 254 kB / 0.5307 GB, free: 70.74 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003346/0.5788, allocations: 3.136 MB / 0.5338 GB, free: 68.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.5792, allocations: 1.009 MB / 0.5348 GB, free: 67.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000498/0.5797, allocations: 110.3 kB / 0.5349 GB, free: 67.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003803/0.5801, allocations: 358.9 kB / 0.5352 GB, free: 67.61 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5801, allocations: 0 / 0.5352 GB, free: 67.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03506/0.6151, allocations: 23.28 MB / 0.558 GB, free: 47.87 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/0.6153, allocations: 222.8 kB / 0.5582 GB, free: 47.62 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.54/3.156, allocations: 3.938 kB / 0.5582 GB, free: 47.62 MB / 378.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