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.001413/0.001413, allocations: 171.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.453/1.453, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0008279/0.0008278, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.443e-05/2.446e-05, allocations: 7.938 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07791/0.07795, allocations: 47.57 MB / 370.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3358/0.4138, allocations: 81.68 MB / 451.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.4142, allocations: 64.66 kB / 451.9 MB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06329/0.4775, allocations: 16.21 MB / 468.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4775, allocations: 0 / 468.1 MB, free: 12.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.243e-05/0.4776, allocations: 19.94 kB / 468.1 MB, free: 12.76 MB / 346.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.001632/0.4792, allocations: 1.042 MB / 469.1 MB, free: 11.65 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4792, allocations: 12.03 kB / 469.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.4794, allocations: 115.7 kB / 469.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.4796, allocations: 110.8 kB / 469.4 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000798/0.4804, allocations: 0.5196 MB / 469.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.4806, allocations: 150.4 kB / 470 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.622e-05/0.4807, allocations: 63.98 kB / 470.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/0.4817, allocations: 0.8042 MB / 470.9 MB, free: 9.707 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.4818, allocations: 7.938 kB / 470.9 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.903e-05/0.4818, allocations: 31.94 kB / 470.9 MB, free: 9.668 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.4819, allocations: 12 kB / 470.9 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008476/0.4827, allocations: 0.5011 MB / 471.5 MB, free: 9.156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003129/0.4858, allocations: 2.131 MB / 473.6 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.4873, allocations: 0.9115 MB / 474.5 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/0.4879, allocations: 347.5 kB / 474.8 MB, free: 5.609 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.17e-05/0.488, allocations: 24.83 kB / 474.9 MB, free: 5.586 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.488, allocations: 47.3 kB / 474.9 MB, free: 5.531 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 2.335e-06/0.488, allocations: 5.641 kB / 474.9 MB, free: 5.527 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.001992/0.49, allocations: 0.8734 MB / 475.8 MB, free: 4.633 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000341/0.4904, allocations: 0.8274 MB / 476.6 MB, free: 3.609 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006583/0.491, allocations: 0.5505 MB / 477.2 MB, free: 3.051 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.241e-05/0.4911, allocations: 45.7 kB / 477.2 MB, free: 3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.4914, allocations: 337 kB / 477.5 MB, free: 2.668 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.4916, allocations: 260.2 kB / 477.8 MB, free: 2.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.4916, allocations: 12 kB / 477.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4918, allocations: 390.8 kB / 478.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/0.4921, allocations: 209.6 kB / 478.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/0.4927, allocations: 0.4899 MB / 478.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.4931, allocations: 349.5 kB / 479.2 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.4931, allocations: 0 / 479.2 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001994/0.4951, allocations: 1.038 MB / 480.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.369e-05/0.4952, allocations: 85.09 kB / 480.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.4952, allocations: 7.938 kB / 480.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006159/0.4958, allocations: 211.3 kB / 480.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000554/0.4964, allocations: 131.8 kB / 480.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006804/0.5032, allocations: 6.242 MB / 486.9 MB, free: 8.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009567/0.5042, allocations: 107.4 kB / 487 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.5043, allocations: 27.94 kB / 487.1 MB, free: 8.414 MB / 362.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 () * 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 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.5045, allocations: 156.9 kB / 487.2 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.5046, allocations: 87.06 kB / 487.3 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002086/0.5048, allocations: 92.05 kB / 487.4 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.5048, allocations: 8 kB / 487.4 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5048, allocations: 0 / 487.4 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001852/0.5067, allocations: 1.17 MB / 488.6 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.5099, allocations: 1.867 MB / 490.4 MB, free: 4.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.51, allocations: 4 kB / 490.4 MB, free: 4.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006134/0.5106, allocations: 127.9 kB / 490.6 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004279/0.511, allocations: 174.5 kB / 490.7 MB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.234e-05/0.5111, allocations: 16 kB / 490.7 MB, free: 4.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005175/0.5163, allocations: 4.806 MB / 495.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5163, allocations: 8.156 kB / 495.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.5189, allocations: 1.292 MB / 496.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/0.5194, allocations: 232.2 kB / 497.1 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.5195, allocations: 27.95 kB / 497.1 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.52, allocations: 47.91 kB / 497.1 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.5202, allocations: 60.69 kB / 497.2 MB, free: 13.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.003e-05/0.5202, allocations: 19.98 kB / 497.2 MB, free: 13.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005762/0.5208, allocations: 451.2 kB / 497.7 MB, free: 13.13 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.686e-05/0.5209, allocations: 4 kB / 497.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008559/0.5217, allocations: 299.6 kB / 498 MB, free: 12.83 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete 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.002875/0.5246, allocations: 2.009 MB / 500 MB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.5264, allocations: 1.232 MB / 0.4895 GB, free: 9.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.5265, allocations: 4 kB / 0.4895 GB, free: 9.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001156/0.5276, allocations: 0.7113 MB / 0.4902 GB, free: 8.699 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009098/0.5286, allocations: 208.1 kB / 0.4904 GB, free: 8.492 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.5311, allocations: 1.405 MB / 0.4917 GB, free: 7.035 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/0.5316, allocations: 0.9558 MB / 0.4927 GB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003642/0.532, allocations: 98.28 kB / 0.4928 GB, free: 5.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003688/0.5324, allocations: 295.3 kB / 0.493 GB, free: 5.664 MB / 378.7 MB Notification: Performance of SimCode: time 5.11e-07/0.5324, allocations: 0 / 0.493 GB, free: 5.664 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04227/0.5747, allocations: 22.5 MB / 0.515 GB, free: 15.12 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.5749, allocations: 184.5 kB / 0.5152 GB, free: 14.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/3.136, allocations: 3.938 kB / 0.5152 GB, free: 14.9 MB / 410.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