Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.513/1.513, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007424/0.0007426, allocations: 90.58 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.506e-05, allocations: 4 kB / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08708/0.08714, allocations: 47.57 MB / 370.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3484/0.4356, allocations: 80.86 MB / 451 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.4358, allocations: 66.09 kB / 451 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02396/0.4598, allocations: 9.544 MB / 460.6 MB, free: 4.293 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4598, allocations: 0 / 460.6 MB, free: 4.293 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.572e-05/0.4599, allocations: 16 kB / 460.6 MB, free: 4.277 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0009459/0.4608, allocations: 0.6898 MB / 461.3 MB, free: 3.539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.4609, allocations: 8.031 kB / 461.3 MB, free: 3.531 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.461, allocations: 79.16 kB / 461.4 MB, free: 3.445 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.548e-05/0.4611, allocations: 59.34 kB / 461.4 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004778/0.4616, allocations: 368.7 kB / 461.8 MB, free: 2.984 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.197e-05/0.4617, allocations: 70.36 kB / 461.9 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.297e-05/0.4617, allocations: 32 kB / 461.9 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.4623, allocations: 451 kB / 462.3 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.4623, allocations: 0 / 462.3 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.438e-05/0.4624, allocations: 12 kB / 462.3 MB, free: 2.371 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4624, allocations: 8 kB / 462.4 MB, free: 2.363 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004356/0.4628, allocations: 267 kB / 462.6 MB, free: 2.102 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.4647, allocations: 1.269 MB / 463.9 MB, free: 0.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.4657, allocations: 433.6 kB / 464.3 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.4659, allocations: 125.4 kB / 464.4 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.4659, allocations: 16.27 kB / 464.4 MB, free: 160 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.466, allocations: 38.84 kB / 464.5 MB, free: 112 kB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 1.443e-06/0.466, allocations: 0 / 464.5 MB, free: 112 kB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.0006599/0.4666, allocations: 344.7 kB / 464.8 MB, free: 15.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.4668, allocations: 449 kB / 465.3 MB, free: 15.22 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.4672, allocations: 391.2 kB / 465.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.4673, allocations: 33.7 kB / 465.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.4674, allocations: 240.3 kB / 465.9 MB, free: 14.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.995e-05/0.4675, allocations: 118.3 kB / 466 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.4675, allocations: 4.094 kB / 466 MB, free: 14.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4677, allocations: 362.7 kB / 466.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.4678, allocations: 96 kB / 466.5 MB, free: 13.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.4681, allocations: 247 kB / 466.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.4683, allocations: 153.6 kB / 466.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4683, allocations: 0 / 466.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006688/0.469, allocations: 422.2 kB / 467.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.804e-05/0.4691, allocations: 37.69 kB / 467.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4691, allocations: 4.031 kB / 467.3 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002858/0.4694, allocations: 69.67 kB / 467.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.4697, allocations: 71.84 kB / 467.5 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002239/0.472, allocations: 2.752 MB / 470.2 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.4723, allocations: 51.52 kB / 470.3 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.4723, allocations: 12.06 kB / 470.3 MB, free: 9.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.4725, allocations: 134.7 kB / 470.4 MB, free: 9.684 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-05/0.4725, allocations: 47.44 kB / 470.5 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.4727, allocations: 56.77 kB / 470.5 MB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.4727, allocations: 4 kB / 470.5 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4727, allocations: 0 / 470.5 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00052/0.4732, allocations: 0.6374 MB / 471.1 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.4743, allocations: 0.8996 MB / 472 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.4744, allocations: 0 / 472 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003481/0.4747, allocations: 79.83 kB / 472.1 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.4747, allocations: 0 / 472.1 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.4748, allocations: 8 kB / 472.1 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4748, allocations: 0 / 472.1 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4748, allocations: 0 / 472.1 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006337/0.4754, allocations: 0.5028 MB / 472.6 MB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.4756, allocations: 164.4 kB / 472.8 MB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/0.4757, allocations: 12 kB / 472.8 MB, free: 7.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.4759, allocations: 19.98 kB / 472.8 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.03e-05/0.476, allocations: 19.97 kB / 472.8 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.476, allocations: 8 kB / 472.9 MB, free: 7.027 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003312/0.4763, allocations: 313.2 kB / 473.2 MB, free: 6.723 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4763, allocations: 4.062 kB / 473.2 MB, free: 6.719 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004243/0.4768, allocations: 147.8 kB / 473.3 MB, free: 6.574 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009753/0.4778, allocations: 1.052 MB / 474.4 MB, free: 5.496 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009003/0.4787, allocations: 0.5554 MB / 474.9 MB, free: 4.902 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4787, allocations: 0 / 474.9 MB, free: 4.902 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.4789, allocations: 123.9 kB / 475 MB, free: 4.781 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004977/0.4794, allocations: 123.9 kB / 475.2 MB, free: 4.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.4808, allocations: 0.7063 MB / 475.9 MB, free: 3.914 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.4811, allocations: 0.8354 MB / 476.7 MB, free: 3.047 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002052/0.4813, allocations: 52.25 kB / 476.8 MB, free: 2.996 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002083/0.4815, allocations: 163.4 kB / 476.9 MB, free: 2.84 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4815, allocations: 3.938 kB / 476.9 MB, free: 2.836 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02474/0.5063, allocations: 11.56 MB / 488.5 MB, free: 7.262 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/0.5065, allocations: 190.3 kB / 488.7 MB, free: 7.031 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/2.632, allocations: 0 / 488.7 MB, free: 7.031 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat