Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",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.001481/0.001481, allocations: 181.1 kB / 17.01 MB, free: 5.125 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.714/1.714, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.001006/0.001007, allocations: 103.7 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003182/0.0003181, allocations: 4 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3037, allocations: 47.56 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1049/0.4087, allocations: 82.03 MB / 457.9 MB, free: 14.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.4091, allocations: 71.91 kB / 458 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05006/0.4591, allocations: 19.41 MB / 477.4 MB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.4592, allocations: 0 / 477.4 MB, free: 11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.954e-05/0.4593, allocations: 20 kB / 477.4 MB, free: 10.98 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.002296/0.4616, allocations: 1.298 MB / 478.7 MB, free: 9.613 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.4616, allocations: 8.031 kB / 478.7 MB, free: 9.605 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/0.4619, allocations: 140.3 kB / 478.9 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001994/0.4621, allocations: 126.6 kB / 479 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009834/0.4631, allocations: 0.5915 MB / 479.6 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002128/0.4633, allocations: 163 kB / 479.7 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.4634, allocations: 79.91 kB / 479.8 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.465, allocations: 0.9853 MB / 480.8 MB, free: 7.344 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.465, allocations: 0 / 480.8 MB, free: 7.344 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.4651, allocations: 32 kB / 480.8 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.4651, allocations: 16 kB / 480.9 MB, free: 7.297 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.4664, allocations: 0.6559 MB / 481.5 MB, free: 6.641 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004211/0.4706, allocations: 2.602 MB / 484.1 MB, free: 3.902 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002748/0.4734, allocations: 0.9446 MB / 485.1 MB, free: 2.934 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.666e-05/0.4734, allocations: 8.656 kB / 485.1 MB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.4735, allocations: 55.22 kB / 485.1 MB, free: 2.863 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.846e-06/0.4735, allocations: 0.5469 kB / 485.1 MB, free: 2.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.002826/0.4763, allocations: 1.478 MB / 486.6 MB, free: 1.273 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004817/0.4768, allocations: 0.9527 MB / 487.6 MB, free: 96 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/0.4777, allocations: 0.6918 MB / 488.2 MB, free: 15.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.062e-05/0.4778, allocations: 45.7 kB / 488.3 MB, free: 15.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.4782, allocations: 420.5 kB / 488.7 MB, free: 14.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000224/0.4784, allocations: 248.2 kB / 488.9 MB, free: 14.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.4784, allocations: 19.94 kB / 489 MB, free: 14.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.4786, allocations: 341.9 kB / 489.3 MB, free: 14.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/0.4792, allocations: 277.8 kB / 489.6 MB, free: 14.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008417/0.48, allocations: 0.5919 MB / 490.2 MB, free: 13.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/0.4807, allocations: 416.8 kB / 490.6 MB, free: 12.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.4807, allocations: 4 kB / 490.6 MB, free: 12.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.0017/0.4824, allocations: 0.986 MB / 491.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.894e-05/0.4825, allocations: 89.09 kB / 491.6 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.4825, allocations: 0 / 491.6 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003459/0.4829, allocations: 132.2 kB / 491.8 MB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/0.4836, allocations: 167.7 kB / 491.9 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005582/0.4892, allocations: 6.972 MB / 498.9 MB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009803/0.4902, allocations: 115.2 kB / 499 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/0.4903, allocations: 24 kB / 499 MB, free: 3.691 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.0005248/0.4908, allocations: 250.3 kB / 499.3 MB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.491, allocations: 102.8 kB / 499.4 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000197/0.4912, allocations: 105.6 kB / 499.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.4912, allocations: 8 kB / 499.5 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.4912, allocations: 0 / 499.5 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001447/0.4927, allocations: 1.013 MB / 0.4888 GB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002768/0.4955, allocations: 1.801 MB / 0.4905 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.4955, allocations: 0 / 0.4905 GB, free: 228 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008006/0.4963, allocations: 167.8 kB / 0.4907 GB, free: 60 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.4964, allocations: 28.84 kB / 0.4907 GB, free: 28 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.4965, allocations: 19.98 kB / 0.4907 GB, free: 8 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2383/0.7348, allocations: 1.428 MB / 0.4921 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.7348, allocations: 0 / 0.4921 GB, free: 102.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002709/0.7375, allocations: 1.144 MB / 0.4933 GB, free: 102.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004474/0.738, allocations: 264.2 kB / 0.4935 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.7381, allocations: 18.97 kB / 0.4935 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005043/0.7387, allocations: 47.2 kB / 0.4936 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.7388, allocations: 46.98 kB / 0.4936 GB, free: 102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.7388, allocations: 22.67 kB / 0.4936 GB, free: 102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007795/0.7396, allocations: 0.5345 MB / 0.4942 GB, free: 101.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7396, allocations: 3.688 kB / 0.4942 GB, free: 101.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00108/0.7407, allocations: 309.8 kB / 0.4945 GB, free: 101.9 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.002342/0.743, allocations: 1.721 MB / 0.4961 GB, free: 101.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002113/0.7452, allocations: 1.437 MB / 0.4975 GB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.652e-06/0.7452, allocations: 4.656 kB / 0.4976 GB, free: 100.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000735/0.7459, allocations: 450.5 kB / 0.498 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/0.7471, allocations: 260.4 kB / 0.4982 GB, free: 100.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/0.7513, allocations: 3.152 MB / 0.5013 GB, free: 98.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.7518, allocations: 1.005 MB / 0.5023 GB, free: 97.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006026/0.7524, allocations: 115.1 kB / 0.5024 GB, free: 97.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005189/0.753, allocations: 358.3 kB / 0.5027 GB, free: 97.75 MB / 378.7 MB Notification: Performance of SimCode: time 4.469e-06/0.753, allocations: 0 / 0.5027 GB, free: 97.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04018/0.7932, allocations: 23.27 MB / 0.5255 GB, free: 85.98 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/0.7934, allocations: 230.2 kB / 0.5257 GB, free: 85.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.737/3.53, allocations: 0 / 0.5257 GB, free: 85.73 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat