Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_cpp_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.00247/0.002475, allocations: 187.2 kB / 16.41 MB, free: 5.723 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.978/1.978, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001123/0.001123, allocations: 86.92 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005248/0.0005248, allocations: 8 kB / 327.1 MB, free: 100 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3394, allocations: 47.56 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.4934, allocations: 81.79 MB / 456.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.4938, allocations: 71.97 kB / 456.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07109/0.5649, allocations: 16.2 MB / 472.7 MB, free: 14.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.5649, allocations: 0 / 472.7 MB, free: 14.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.291e-05/0.565, allocations: 23.94 kB / 472.7 MB, free: 14.54 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.003496/0.5685, allocations: 1.173 MB / 473.9 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/0.5686, allocations: 12.03 kB / 473.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003669/0.569, allocations: 115.7 kB / 474 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/0.5693, allocations: 106.9 kB / 474.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/0.5706, allocations: 0.5235 MB / 474.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/0.571, allocations: 150.4 kB / 474.8 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.5712, allocations: 64 kB / 474.8 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.5735, allocations: 0.8556 MB / 475.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.5735, allocations: 4 kB / 475.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.5737, allocations: 32 kB / 475.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.5737, allocations: 12 kB / 475.8 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002255/0.576, allocations: 0.5946 MB / 476.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005994/0.582, allocations: 2.135 MB / 478.5 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/0.5855, allocations: 1.032 MB / 479.5 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.5856, allocations: 24.69 kB / 479.5 MB, free: 7.309 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.5857, allocations: 43.22 kB / 479.6 MB, free: 7.258 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 3.677e-06/0.5857, allocations: 0 / 479.6 MB, free: 7.258 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.009006/0.5947, allocations: 1.858 MB / 481.4 MB, free: 5.309 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004512/0.5952, allocations: 0.8234 MB / 482.3 MB, free: 4.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.5965, allocations: 0.5621 MB / 482.8 MB, free: 3.719 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000213/0.5967, allocations: 45.7 kB / 482.9 MB, free: 3.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003252/0.597, allocations: 355.5 kB / 483.2 MB, free: 3.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/0.5974, allocations: 257.8 kB / 483.5 MB, free: 3.066 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.5975, allocations: 12 kB / 483.5 MB, free: 3.055 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5977, allocations: 342.8 kB / 483.8 MB, free: 2.711 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.5987, allocations: 261.9 kB / 484.1 MB, free: 2.453 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.6001, allocations: 0.5351 MB / 484.6 MB, free: 1.816 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001141/0.6012, allocations: 384.9 kB / 485 MB, free: 1.426 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.6012, allocations: 0 / 485 MB, free: 1.426 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.004308/0.6056, allocations: 1.068 MB / 486 MB, free: 324 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.845e-05/0.6057, allocations: 85.11 kB / 486.1 MB, free: 220 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.6057, allocations: 0 / 486.1 MB, free: 220 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.6069, allocations: 255.2 kB / 486.4 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.6081, allocations: 131.9 kB / 486.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/0.6209, allocations: 6.574 MB / 493.1 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00128/0.6223, allocations: 107.3 kB / 493.2 MB, free: 8.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.6224, allocations: 24.16 kB / 493.2 MB, free: 8.586 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.0005609/0.623, allocations: 223.8 kB / 493.4 MB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.6232, allocations: 90.97 kB / 493.5 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002727/0.6235, allocations: 96.05 kB / 493.6 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.6235, allocations: 11.95 kB / 493.6 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.6236, allocations: 4 kB / 493.6 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004116/0.6277, allocations: 1.253 MB / 494.9 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006462/0.6342, allocations: 1.929 MB / 496.8 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.6342, allocations: 0 / 496.8 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.6355, allocations: 131.8 kB / 496.9 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/0.6366, allocations: 218.7 kB / 497.1 MB, free: 4.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.6367, allocations: 15.94 kB / 497.2 MB, free: 4.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2788/0.9155, allocations: 5.13 MB / 0.4905 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.9156, allocations: 0.5625 kB / 0.4905 GB, free: 104.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00564/0.9212, allocations: 1.399 MB / 0.4919 GB, free: 103.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008186/0.9221, allocations: 239 kB / 0.4921 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003228/0.9224, allocations: 18.75 kB / 0.4921 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.9237, allocations: 42.88 kB / 0.4922 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003319/0.9241, allocations: 65.62 kB / 0.4922 GB, free: 103.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-05/0.9242, allocations: 18.81 kB / 0.4923 GB, free: 103.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001197/0.9254, allocations: 456.7 kB / 0.4927 GB, free: 103.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.9254, allocations: 0 / 0.4927 GB, free: 103.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00233/0.9278, allocations: 290.2 kB / 0.493 GB, free: 103.7 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.008131/0.936, allocations: 1.985 MB / 0.4949 GB, free: 103 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004342/0.9404, allocations: 1.323 MB / 0.4962 GB, free: 102.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/0.9405, allocations: 1.5 kB / 0.4962 GB, free: 102.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00314/0.9436, allocations: 0.7668 MB / 0.4969 GB, free: 102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.946, allocations: 205.6 kB / 0.4971 GB, free: 102 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007827/0.9538, allocations: 2.73 MB / 0.4998 GB, free: 100.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007878/0.9547, allocations: 0.9608 MB / 0.5007 GB, free: 99.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.9558, allocations: 304.2 kB / 0.501 GB, free: 99.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.893e-06/0.9558, allocations: 0 / 0.501 GB, free: 99.84 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.357/4.313, allocations: 23.96 MB / 0.5244 GB, free: 86.24 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat