Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",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.002095/0.002095, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.255/2.255, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001131/0.001131, allocations: 94.83 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.172e-05, allocations: 4 kB / 314.9 MB, free: 9.062 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3738, allocations: 47.57 MB / 362.4 MB, free: 45.72 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.149/0.5229, allocations: 82.07 MB / 444.5 MB, free: 4.121 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/0.5232, allocations: 69.56 kB / 444.6 MB, free: 4.055 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07677/0.6, allocations: 16.81 MB / 461.4 MB, free: 3.215 MB / 347.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6001, allocations: 0 / 461.4 MB, free: 3.215 MB / 347.1 MB Notification: Performance of Transformations before backend: time 9.272e-05/0.6002, allocations: 27.98 kB / 461.4 MB, free: 3.188 MB / 347.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003715/0.6039, allocations: 1.106 MB / 462.5 MB, free: 2.016 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.604, allocations: 8.031 kB / 462.5 MB, free: 2.008 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005208/0.6045, allocations: 110.8 kB / 462.6 MB, free: 1.898 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/0.6063, allocations: 0.5466 MB / 463.2 MB, free: 1.312 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003328/0.6066, allocations: 134.3 kB / 463.3 MB, free: 1.164 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/0.6069, allocations: 44.06 kB / 463.3 MB, free: 1.121 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001653/0.6085, allocations: 498.5 kB / 463.8 MB, free: 0.6328 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.6105, allocations: 0.7352 MB / 464.6 MB, free: 15.79 MB / 363.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.51e-05/0.6106, allocations: 0 / 464.6 MB, free: 15.79 MB / 363.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.6107, allocations: 0 / 464.6 MB, free: 15.79 MB / 363.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.6108, allocations: 16 kB / 464.6 MB, free: 15.78 MB / 363.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006777/0.6175, allocations: 2.086 MB / 466.7 MB, free: 13.61 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/0.6198, allocations: 0.9391 MB / 467.6 MB, free: 12.59 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009359/0.6208, allocations: 319.8 kB / 467.9 MB, free: 12.27 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.6209, allocations: 20.77 kB / 467.9 MB, free: 12.25 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.262e-05/0.621, allocations: 55.28 kB / 468 MB, free: 12.18 MB / 363.1 MB Notification: Performance of pre-optimization done (n=78): time 4.077e-06/0.621, allocations: 0 / 468 MB, free: 12.18 MB / 363.1 MB Notification: Performance of matching and sorting (n=78): time 0.003811/0.6249, allocations: 0.8547 MB / 468.9 MB, free: 11.31 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005059/0.6254, allocations: 0.8196 MB / 469.7 MB, free: 10.3 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.6266, allocations: 0.5035 MB / 470.2 MB, free: 9.789 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000245/0.6269, allocations: 29.7 kB / 470.2 MB, free: 9.754 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/0.6273, allocations: 371.2 kB / 470.6 MB, free: 9.391 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000429/0.6277, allocations: 264 kB / 470.8 MB, free: 9.129 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.451e-05/0.6278, allocations: 0 / 470.8 MB, free: 9.129 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0002367/0.628, allocations: 338.8 kB / 471.2 MB, free: 8.789 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006923/0.6287, allocations: 209.6 kB / 471.4 MB, free: 8.582 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.6298, allocations: 485.9 kB / 471.8 MB, free: 8.004 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008336/0.6306, allocations: 270.6 kB / 472.1 MB, free: 7.742 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.6307, allocations: 0 / 472.1 MB, free: 7.742 MB / 363.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003724/0.6344, allocations: 0.8701 MB / 473 MB, free: 6.855 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.6346, allocations: 89.09 kB / 473.1 MB, free: 6.75 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.6346, allocations: 0 / 473.1 MB, free: 6.75 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.6356, allocations: 205.5 kB / 473.3 MB, free: 6.539 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.637, allocations: 155.8 kB / 473.4 MB, free: 6.387 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.6473, allocations: 6.024 MB / 479.4 MB, free: 15.9 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.6487, allocations: 103.4 kB / 479.5 MB, free: 15.8 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.6489, allocations: 23.98 kB / 479.6 MB, free: 15.78 MB / 379.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 (74): * Single equations (assignments): 67 * 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 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003935/0.6493, allocations: 125.9 kB / 479.7 MB, free: 15.65 MB / 379.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003687/0.653, allocations: 0.8655 MB / 480.5 MB, free: 14.76 MB / 379.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/0.6534, allocations: 87.06 kB / 480.6 MB, free: 14.68 MB / 379.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003145/0.6538, allocations: 80.39 kB / 480.7 MB, free: 14.59 MB / 379.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.6538, allocations: 8 kB / 480.7 MB, free: 14.58 MB / 379.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.6538, allocations: 3.984 kB / 480.7 MB, free: 14.58 MB / 379.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003472/0.6573, allocations: 1.15 MB / 481.9 MB, free: 13.32 MB / 379.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006386/0.6637, allocations: 1.79 MB / 483.7 MB, free: 11.47 MB / 379.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.6638, allocations: 5.781 kB / 483.7 MB, free: 11.46 MB / 379.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/0.6654, allocations: 147.8 kB / 483.8 MB, free: 11.32 MB / 379.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007847/0.6662, allocations: 172.8 kB / 484 MB, free: 11.14 MB / 379.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001469/0.6664, allocations: 4 kB / 484 MB, free: 11.14 MB / 379.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008895/0.6753, allocations: 4.65 MB / 488.6 MB, free: 6.148 MB / 379.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.6754, allocations: 3.969 kB / 488.6 MB, free: 6.145 MB / 379.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/0.68, allocations: 1.255 MB / 489.9 MB, free: 4.863 MB / 379.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007542/0.6809, allocations: 247.9 kB / 490.1 MB, free: 4.602 MB / 379.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.6811, allocations: 11.98 kB / 490.1 MB, free: 4.59 MB / 379.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.6822, allocations: 51.89 kB / 490.2 MB, free: 4.539 MB / 379.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003284/0.6825, allocations: 60.69 kB / 490.3 MB, free: 4.48 MB / 379.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.259e-05/0.6826, allocations: 23.98 kB / 490.3 MB, free: 4.457 MB / 379.1 MB Notification: Performance of sorting global known variables: time 0.0008378/0.6835, allocations: 395.2 kB / 490.7 MB, free: 4.078 MB / 379.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.6835, allocations: 0 / 490.7 MB, free: 4.078 MB / 379.1 MB Notification: Performance of remove unused functions: time 0.001518/0.685, allocations: 267.7 kB / 490.9 MB, free: 3.816 MB / 379.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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.005061/0.6901, allocations: 1.85 MB / 492.8 MB, free: 1.93 MB / 379.1 MB Notification: Performance of simCode: created initialization part: time 0.002759/0.6929, allocations: 1.202 MB / 494 MB, free: 0.6484 MB / 379.1 MB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/0.693, allocations: 0 / 494 MB, free: 0.6484 MB / 379.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.6951, allocations: 0.7033 MB / 494.7 MB, free: 15.92 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.6969, allocations: 196.5 kB / 494.9 MB, free: 15.73 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004912/0.7018, allocations: 1.379 MB / 496.3 MB, free: 14.3 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007576/0.7026, allocations: 0.9755 MB / 497.2 MB, free: 13.3 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008076/0.7035, allocations: 303.3 kB / 497.5 MB, free: 13 MB / 395.1 MB Notification: Performance of SimCode: time 1.473e-06/0.7035, allocations: 0 / 497.5 MB, free: 13 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.389/4.092, allocations: 25.16 MB / 0.5104 GB, free: 117.1 MB / 395.1 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat