Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",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.001709/0.001709, allocations: 180 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.648/1.648, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0008139/0.000814, allocations: 96.09 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003068/0.000307, allocations: 4 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.306, allocations: 47.56 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1127/0.4189, allocations: 81.78 MB / 457.7 MB, free: 14.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/0.4193, allocations: 75.89 kB / 457.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04606/0.4654, allocations: 16.21 MB / 474 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.4654, allocations: 0 / 474 MB, free: 14.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.929e-05/0.4655, allocations: 15.94 kB / 474 MB, free: 14.45 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.003095/0.4686, allocations: 1.173 MB / 475.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.4687, allocations: 8.031 kB / 475.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003577/0.4691, allocations: 119.7 kB / 475.3 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003665/0.4695, allocations: 106.9 kB / 475.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.4706, allocations: 0.5196 MB / 475.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.4709, allocations: 150.4 kB / 476.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.471, allocations: 68 kB / 476.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.4727, allocations: 0.8556 MB / 477 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.4728, allocations: 4 kB / 477 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/0.4729, allocations: 28 kB / 477 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.4729, allocations: 16 kB / 477 MB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.4743, allocations: 0.5907 MB / 477.6 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005235/0.4796, allocations: 2.139 MB / 479.8 MB, free: 8.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/0.4819, allocations: 1.036 MB / 480.8 MB, free: 7.234 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.195e-05/0.482, allocations: 12.66 kB / 480.8 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.603e-05/0.4821, allocations: 47.22 kB / 480.8 MB, free: 7.168 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 5.26e-06/0.4821, allocations: 0 / 480.8 MB, free: 7.168 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.005227/0.4874, allocations: 1.854 MB / 482.7 MB, free: 5.223 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004169/0.4878, allocations: 0.8272 MB / 483.5 MB, free: 4.199 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009018/0.4887, allocations: 0.5583 MB / 484.1 MB, free: 3.633 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.4888, allocations: 45.7 kB / 484.1 MB, free: 3.582 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.4892, allocations: 337 kB / 484.5 MB, free: 3.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/0.4894, allocations: 260.1 kB / 484.7 MB, free: 2.992 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.4895, allocations: 16 kB / 484.7 MB, free: 2.977 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.4897, allocations: 392.3 kB / 485.1 MB, free: 2.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/0.4902, allocations: 261.9 kB / 485.4 MB, free: 2.328 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007905/0.491, allocations: 0.5351 MB / 485.9 MB, free: 1.691 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006851/0.4917, allocations: 384.9 kB / 486.3 MB, free: 1.301 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.4918, allocations: 0 / 486.3 MB, free: 1.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002628/0.4944, allocations: 1.114 MB / 487.4 MB, free: 148 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.074e-05/0.4945, allocations: 89.09 kB / 487.5 MB, free: 40 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.4945, allocations: 0 / 487.5 MB, free: 40 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007517/0.4953, allocations: 251.2 kB / 487.7 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.4959, allocations: 131.9 kB / 487.9 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008475/0.5044, allocations: 6.588 MB / 494.4 MB, free: 8.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.5055, allocations: 107.3 kB / 494.5 MB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/0.5057, allocations: 28.02 kB / 494.6 MB, free: 8.398 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (71): * Single equations (assignments): 64 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 1,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006725/0.5063, allocations: 221.8 kB / 494.8 MB, free: 8.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.5066, allocations: 86.97 kB / 494.9 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.5069, allocations: 96 kB / 495 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.5069, allocations: 11.95 kB / 495 MB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.507, allocations: 7.984 kB / 495 MB, free: 7.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002476/0.5094, allocations: 1.249 MB / 496.2 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/0.5136, allocations: 1.933 MB / 498.2 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.5136, allocations: 0 / 498.2 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007129/0.5143, allocations: 127.9 kB / 498.3 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000594/0.5149, allocations: 214.4 kB / 498.5 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.06e-05/0.515, allocations: 19.98 kB / 498.5 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2275/0.7426, allocations: 5.123 MB / 0.4918 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/0.7426, allocations: 4.141 kB / 0.4918 GB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004295/0.7469, allocations: 1.393 MB / 0.4932 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/0.7475, allocations: 242.6 kB / 0.4934 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.7476, allocations: 20.34 kB / 0.4935 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004776/0.7481, allocations: 42.45 kB / 0.4935 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.7483, allocations: 61.34 kB / 0.4936 GB, free: 104 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.814e-05/0.7483, allocations: 18.25 kB / 0.4936 GB, free: 104 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006681/0.749, allocations: 458.6 kB / 0.494 GB, free: 103.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.749, allocations: 0 / 0.494 GB, free: 103.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001292/0.7503, allocations: 287.5 kB / 0.4943 GB, free: 103.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00376/0.7541, allocations: 1.979 MB / 0.4962 GB, free: 103.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.7563, allocations: 1.325 MB / 0.4975 GB, free: 102.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.7563, allocations: 6.562 kB / 0.4975 GB, free: 102.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.7576, allocations: 0.7635 MB / 0.4983 GB, free: 102.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009543/0.7586, allocations: 208 kB / 0.4985 GB, free: 102.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/0.7625, allocations: 2.692 MB / 0.5011 GB, free: 100.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005309/0.763, allocations: 0.9583 MB / 0.502 GB, free: 100 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004946/0.7635, allocations: 103.5 kB / 0.5021 GB, free: 100 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/0.764, allocations: 298.1 kB / 0.5024 GB, free: 100 MB / 378.7 MB Notification: Performance of SimCode: time 1.814e-06/0.764, allocations: 0 / 0.5024 GB, free: 100 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04165/0.8056, allocations: 22.18 MB / 0.5241 GB, free: 87.82 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001847/0.8059, allocations: 218.8 kB / 0.5243 GB, free: 87.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.723/3.529, allocations: 0 / 0.5243 GB, free: 87.58 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat