Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001665/0.001665, allocations: 202.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 225.6 MB / 234.8 MB, free: 3.219 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00102/0.00102, allocations: 91.25 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.788e-05, allocations: 0 / 343.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 51.48 MB / 395.3 MB, free: 4.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3535/0.4693, allocations: 81.13 MB / 476.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.4696, allocations: 73.58 kB / 476.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03629/0.5059, allocations: 15.76 MB / 492.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.506, allocations: 0 / 492.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.278e-05/0.506, allocations: 16 kB / 492.2 MB, free: 15.15 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.001686/0.5077, allocations: 1.048 MB / 493.3 MB, free: 14.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.5078, allocations: 11.09 kB / 493.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001635/0.508, allocations: 106.9 kB / 493.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007965/0.5088, allocations: 0.5174 MB / 493.9 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/0.509, allocations: 126.4 kB / 494 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.81e-05/0.5091, allocations: 36 kB / 494.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008046/0.5099, allocations: 474.1 kB / 494.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009352/0.5108, allocations: 0.7089 MB / 495.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.5109, allocations: 4 kB / 495.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.274e-05/0.5109, allocations: 4 kB / 495.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.5109, allocations: 16 kB / 495.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002958/0.5139, allocations: 1.972 MB / 497.2 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.5152, allocations: 0.8775 MB / 498.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000456/0.5157, allocations: 316.7 kB / 498.4 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.273e-05/0.5158, allocations: 11.78 kB / 498.4 MB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.5158, allocations: 48.47 kB / 498.5 MB, free: 9.895 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 3.667e-06/0.5158, allocations: 0 / 498.5 MB, free: 9.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.001874/0.5177, allocations: 0.8275 MB / 499.3 MB, free: 9.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003581/0.5181, allocations: 0.8194 MB / 0.4884 GB, free: 8.219 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005536/0.5187, allocations: 473 kB / 0.4889 GB, free: 7.867 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.212e-05/0.5187, allocations: 29.69 kB / 0.4889 GB, free: 7.832 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002214/0.519, allocations: 339.8 kB / 0.4892 GB, free: 7.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.5192, allocations: 243.2 kB / 0.4895 GB, free: 7.406 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.5192, allocations: 4 kB / 0.4895 GB, free: 7.402 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.5194, allocations: 377.1 kB / 0.4898 GB, free: 7.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.5197, allocations: 201.8 kB / 0.49 GB, free: 6.938 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.5202, allocations: 470.8 kB / 0.4905 GB, free: 6.496 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004499/0.5207, allocations: 247 kB / 0.4907 GB, free: 6.344 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.5207, allocations: 0 / 0.4907 GB, free: 6.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00203/0.5228, allocations: 0.8926 MB / 0.4916 GB, free: 5.523 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.178e-05/0.5228, allocations: 85.11 kB / 0.4916 GB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.5229, allocations: 6.031 kB / 0.4916 GB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006461/0.5235, allocations: 215.2 kB / 0.4919 GB, free: 5.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/0.5241, allocations: 127.9 kB / 0.492 GB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006307/0.5304, allocations: 6.051 MB / 0.4979 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009733/0.5314, allocations: 79.5 kB / 0.498 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.5315, allocations: 23.98 kB / 0.498 GB, free: 14.46 MB / 378.7 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 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.0003481/0.5319, allocations: 142.8 kB / 0.4981 GB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001877/0.5338, allocations: 0.8149 MB / 0.4989 GB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.5339, allocations: 83.06 kB / 0.499 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000238/0.5342, allocations: 82.69 kB / 0.4991 GB, free: 13.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5342, allocations: 8 kB / 0.4991 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.5342, allocations: 192 / 0.4991 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001799/0.536, allocations: 1.119 MB / 0.5002 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.5392, allocations: 1.727 MB / 0.5019 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.5392, allocations: 0 / 0.5019 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006201/0.5399, allocations: 131.9 kB / 0.502 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004177/0.5403, allocations: 165.5 kB / 0.5021 GB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.5403, allocations: 11.98 kB / 0.5022 GB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00497/0.5453, allocations: 4.666 MB / 0.5067 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5454, allocations: 0 / 0.5067 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.5477, allocations: 1.229 MB / 0.5079 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/0.5481, allocations: 228.3 kB / 0.5081 GB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/0.5482, allocations: 4 kB / 0.5081 GB, free: 3.438 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.5487, allocations: 31.88 kB / 0.5082 GB, free: 3.406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.5489, allocations: 68.67 kB / 0.5082 GB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.5489, allocations: 23.98 kB / 0.5083 GB, free: 3.316 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004627/0.5494, allocations: 366.9 kB / 0.5086 GB, free: 2.961 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5494, allocations: 0 / 0.5086 GB, free: 2.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008694/0.5503, allocations: 263.6 kB / 0.5089 GB, free: 2.703 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.002623/0.5529, allocations: 1.934 MB / 0.5107 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.5546, allocations: 1.168 MB / 0.5119 GB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.5547, allocations: 4.109 kB / 0.5119 GB, free: 15.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009798/0.5556, allocations: 0.6799 MB / 0.5126 GB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000844/0.5565, allocations: 176.8 kB / 0.5127 GB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.559, allocations: 1.325 MB / 0.514 GB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.5595, allocations: 0.952 MB / 0.5149 GB, free: 12.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000371/0.5599, allocations: 87.8 kB / 0.515 GB, free: 12.17 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000369/0.5603, allocations: 291.3 kB / 0.5153 GB, free: 11.88 MB / 394.7 MB Notification: Performance of SimCode: time 5.52e-07/0.5603, allocations: 3.938 kB / 0.5153 GB, free: 11.88 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0468/0.6071, allocations: 20.09 MB / 0.5349 GB, free: 8.098 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.6073, allocations: 144.2 kB / 0.5351 GB, free: 7.906 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.569/3.176, allocations: 0 / 0.5351 GB, free: 7.906 MB / 410.7 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat