Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json 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) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.001249, allocations: 181.3 kB / 16.39 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.2 MB / 240.3 MB, free: 10.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009309/0.0009309, allocations: 94.23 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002278/0.0002278, allocations: 8 kB / 351.2 MB, free: 14.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2059, allocations: 50.4 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09413/0.3, allocations: 81.21 MB / 482.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001866/0.3003, allocations: 79.94 kB / 482.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04986/0.3501, allocations: 19.04 MB / 0.4901 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.3502, allocations: 0 / 0.4901 GB, free: 11.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.117e-05/0.3503, allocations: 35.92 kB / 0.4902 GB, free: 11.92 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.002663/0.353, allocations: 1.302 MB / 0.4915 GB, free: 10.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.353, allocations: 8.031 kB / 0.4915 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002845/0.3533, allocations: 132.4 kB / 0.4916 GB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000284/0.3536, allocations: 130.6 kB / 0.4917 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.3548, allocations: 0.5869 MB / 0.4923 GB, free: 9.641 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000203/0.355, allocations: 159.8 kB / 0.4924 GB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.3551, allocations: 72 kB / 0.4925 GB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/0.3566, allocations: 0.9822 MB / 0.4935 GB, free: 8.297 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.3567, allocations: 3.906 kB / 0.4935 GB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-05/0.3568, allocations: 32 kB / 0.4935 GB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.3568, allocations: 20 kB / 0.4935 GB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001347/0.3581, allocations: 0.6598 MB / 0.4942 GB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004695/0.3628, allocations: 2.592 MB / 0.4967 GB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/0.3658, allocations: 0.9349 MB / 0.4976 GB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.593e-05/0.3659, allocations: 16.62 kB / 0.4976 GB, free: 3.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/0.366, allocations: 51.22 kB / 0.4977 GB, free: 3.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 3.557e-06/0.366, allocations: 0 / 0.4977 GB, free: 3.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.002914/0.3689, allocations: 1.478 MB / 0.4991 GB, free: 2.234 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004314/0.3694, allocations: 0.9489 MB / 0.5 GB, free: 1.059 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.3705, allocations: 0.6918 MB / 0.5007 GB, free: 372 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001155/0.3707, allocations: 45.7 kB / 0.5008 GB, free: 320 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2129/0.5836, allocations: 402.9 kB / 0.5011 GB, free: 93.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006444/0.5843, allocations: 263.1 kB / 0.5014 GB, free: 93.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.5845, allocations: 16.47 kB / 0.5014 GB, free: 93.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5846, allocations: 333.2 kB / 0.5017 GB, free: 92.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.5858, allocations: 274.1 kB / 0.502 GB, free: 92.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.5874, allocations: 0.5983 MB / 0.5026 GB, free: 92.49 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.5885, allocations: 415.3 kB / 0.503 GB, free: 92.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.5885, allocations: 0.5938 kB / 0.503 GB, free: 92.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002665/0.5912, allocations: 0.9944 MB / 0.5039 GB, free: 92.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.279e-05/0.5913, allocations: 87.78 kB / 0.504 GB, free: 92.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.5913, allocations: 2.438 kB / 0.504 GB, free: 92.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000498/0.5918, allocations: 131 kB / 0.5042 GB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008389/0.5927, allocations: 159.4 kB / 0.5043 GB, free: 92.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005929/0.5986, allocations: 6.972 MB / 0.5111 GB, free: 85.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.5997, allocations: 122.5 kB / 0.5112 GB, free: 85.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.5999, allocations: 24.25 kB / 0.5113 GB, free: 85.64 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.0006595/0.6005, allocations: 233.9 kB / 0.5115 GB, free: 85.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003784/0.6009, allocations: 108.2 kB / 0.5116 GB, free: 85.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.6012, allocations: 104.8 kB / 0.5117 GB, free: 85.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.6012, allocations: 15.27 kB / 0.5117 GB, free: 85.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.6012, allocations: 0 / 0.5117 GB, free: 85.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/0.6025, allocations: 1.012 MB / 0.5127 GB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002643/0.6051, allocations: 1.795 MB / 0.5144 GB, free: 84.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.461e-06/0.6051, allocations: 5.062 kB / 0.5144 GB, free: 84.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007669/0.6059, allocations: 160.1 kB / 0.5146 GB, free: 84.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/0.606, allocations: 31.09 kB / 0.5146 GB, free: 84.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.962e-05/0.6061, allocations: 27.98 kB / 0.5146 GB, free: 84.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000881/0.607, allocations: 1.444 MB / 0.5161 GB, free: 83.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.607, allocations: 0.8438 kB / 0.5161 GB, free: 83.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.6089, allocations: 1.148 MB / 0.5172 GB, free: 82.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005046/0.6094, allocations: 255.2 kB / 0.5174 GB, free: 82.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.6096, allocations: 16.91 kB / 0.5174 GB, free: 82.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005601/0.6102, allocations: 58.8 kB / 0.5175 GB, free: 82.81 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/0.6103, allocations: 46.8 kB / 0.5175 GB, free: 82.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.6103, allocations: 20.06 kB / 0.5176 GB, free: 82.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006547/0.611, allocations: 0.5423 MB / 0.5181 GB, free: 82.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.611, allocations: 0 / 0.5181 GB, free: 82.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009636/0.612, allocations: 309.5 kB / 0.5184 GB, free: 82.56 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.001993/0.614, allocations: 1.726 MB / 0.5201 GB, free: 81.49 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001888/0.6159, allocations: 1.444 MB / 0.5215 GB, free: 80.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.6159, allocations: 0 / 0.5215 GB, free: 80.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005884/0.6165, allocations: 449.1 kB / 0.5219 GB, free: 80.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009572/0.6175, allocations: 267.3 kB / 0.5222 GB, free: 80.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003393/0.6209, allocations: 3.146 MB / 0.5252 GB, free: 78.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.6212, allocations: 1.006 MB / 0.5262 GB, free: 77.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004764/0.6217, allocations: 119.9 kB / 0.5263 GB, free: 77.37 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.6221, allocations: 360.7 kB / 0.5267 GB, free: 77.11 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6221, allocations: 0 / 0.5267 GB, free: 77.11 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04612/0.6682, allocations: 23.27 MB / 0.5494 GB, free: 59.24 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.6685, allocations: 219 kB / 0.5496 GB, free: 59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/3.481, allocations: 0 / 0.5496 GB, free: 59 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat