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.002526/0.002526, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.739/1.739, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0013/0.0013, allocations: 94.05 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.717e-05/4.73e-05, allocations: 8 kB / 350.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.137, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4388/0.5759, allocations: 81.8 MB / 483.9 MB, free: 7.707 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.5761, allocations: 75.05 kB / 484 MB, free: 7.668 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0431/0.6192, allocations: 15.95 MB / 499.9 MB, free: 9.297 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.6193, allocations: 0 / 499.9 MB, free: 9.297 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001051/0.6194, allocations: 20 kB / 500 MB, free: 9.277 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.003057/0.6225, allocations: 1.051 MB / 0.4893 GB, free: 8.172 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.823e-05/0.6225, allocations: 8.031 kB / 0.4893 GB, free: 8.164 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004546/0.623, allocations: 114.8 kB / 0.4894 GB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005762/0.6236, allocations: 110.8 kB / 0.4895 GB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.625, allocations: 0.5237 MB / 0.49 GB, free: 7.371 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002522/0.6253, allocations: 150.4 kB / 0.4901 GB, free: 7.207 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001485/0.6255, allocations: 60 kB / 0.4902 GB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.627, allocations: 0.8149 MB / 0.491 GB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.627, allocations: 1.125 kB / 0.491 GB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.372e-05/0.6271, allocations: 32 kB / 0.491 GB, free: 6.203 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.6271, allocations: 16 kB / 0.491 GB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.6282, allocations: 0.4972 MB / 0.4915 GB, free: 5.691 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004413/0.6327, allocations: 2.139 MB / 0.4936 GB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.6344, allocations: 0.9038 MB / 0.4945 GB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000621/0.635, allocations: 342.6 kB / 0.4948 GB, free: 2.152 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-05/0.6351, allocations: 16.8 kB / 0.4948 GB, free: 2.137 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.976e-05/0.6352, allocations: 51.34 kB / 0.4949 GB, free: 2.078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=74): time 2.896e-06/0.6352, allocations: 3.938 kB / 0.4949 GB, free: 2.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=74): time 0.00245/0.6376, allocations: 0.8772 MB / 0.4958 GB, free: 1.176 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004731/0.6381, allocations: 0.8235 MB / 0.4966 GB, free: 160 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008961/0.639, allocations: 0.5592 MB / 0.4971 GB, free: 15.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.24e-05/0.6391, allocations: 45.7 kB / 0.4971 GB, free: 15.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.6395, allocations: 333 kB / 0.4975 GB, free: 15.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000313/0.6398, allocations: 252.2 kB / 0.4977 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-05/0.6399, allocations: 16 kB / 0.4977 GB, free: 14.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002492/0.6401, allocations: 386.7 kB / 0.4981 GB, free: 14.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.6406, allocations: 213.6 kB / 0.4983 GB, free: 14.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007814/0.6414, allocations: 0.4899 MB / 0.4988 GB, free: 13.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006768/0.642, allocations: 349.5 kB / 0.4991 GB, free: 13.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.6421, allocations: 0 / 0.4991 GB, free: 13.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00262/0.6447, allocations: 1.032 MB / 0.5001 GB, free: 12.33 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.6448, allocations: 89.11 kB / 0.5002 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.6449, allocations: 0 / 0.5002 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008638/0.6457, allocations: 223.2 kB / 0.5004 GB, free: 12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.6464, allocations: 135.8 kB / 0.5005 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/0.6565, allocations: 6.232 MB / 0.5066 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.6578, allocations: 115.2 kB / 0.5067 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.6579, allocations: 23.98 kB / 0.5068 GB, free: 4.957 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 () * 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.0003243/0.6583, allocations: 163.3 kB / 0.5069 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/0.6586, allocations: 83.25 kB / 0.507 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.6589, allocations: 92.06 kB / 0.5071 GB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.6589, allocations: 12 kB / 0.5071 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.6589, allocations: 5.594 kB / 0.5071 GB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002448/0.6614, allocations: 1.174 MB / 0.5082 GB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004483/0.6659, allocations: 1.859 MB / 0.5101 GB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/0.6659, allocations: 0 / 0.5101 GB, free: 1.375 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000722/0.6667, allocations: 131.8 kB / 0.5102 GB, free: 1.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005598/0.6673, allocations: 174.5 kB / 0.5104 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.6673, allocations: 15.98 kB / 0.5104 GB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006799/0.6741, allocations: 4.808 MB / 0.5151 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.6742, allocations: 0 / 0.5151 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/0.6775, allocations: 1.292 MB / 0.5163 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008267/0.6784, allocations: 239.9 kB / 0.5166 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003389/0.6787, allocations: 23.95 kB / 0.5166 GB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008156/0.6796, allocations: 43.98 kB / 0.5166 GB, free: 10.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/0.6798, allocations: 56.69 kB / 0.5167 GB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.432e-05/0.6799, allocations: 27.92 kB / 0.5167 GB, free: 10.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007377/0.6806, allocations: 443.2 kB / 0.5171 GB, free: 9.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6806, allocations: 0 / 0.5171 GB, free: 9.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001177/0.6818, allocations: 292.2 kB / 0.5174 GB, free: 9.395 MB / 394.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.003287/0.6851, allocations: 2.016 MB / 0.5194 GB, free: 7.332 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002318/0.6874, allocations: 1.231 MB / 0.5206 GB, free: 6.012 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.6875, allocations: 4 kB / 0.5206 GB, free: 6.008 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.6887, allocations: 0.7152 MB / 0.5213 GB, free: 5.254 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.6898, allocations: 215.1 kB / 0.5215 GB, free: 5.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003069/0.6929, allocations: 1.402 MB / 0.5228 GB, free: 3.605 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005548/0.6935, allocations: 0.9597 MB / 0.5238 GB, free: 2.621 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004196/0.6939, allocations: 90.3 kB / 0.5239 GB, free: 2.531 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/0.6943, allocations: 295.3 kB / 0.5242 GB, free: 2.242 MB / 394.7 MB Notification: Performance of SimCode: time 1.203e-06/0.6943, allocations: 8 kB / 0.5242 GB, free: 2.234 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04779/0.7421, allocations: 22.48 MB / 0.5461 GB, free: 12.22 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.7423, allocations: 189.9 kB / 0.5463 GB, free: 12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.856/3.598, allocations: 5.203 kB / 0.5463 GB, free: 11.99 MB / 426.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