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.00137/0.00137, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.321/1.321, allocations: 227.2 MB / 245 MB, free: 7.625 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009134/0.0009133, allocations: 94.03 kB / 297.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002139/0.0002139, allocations: 8 kB / 358 MB, free: 9.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2061, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09507/0.3012, allocations: 81.86 MB / 491.4 MB, free: 8.734 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.3015, allocations: 75.95 kB / 491.4 MB, free: 8.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03862/0.3401, allocations: 15.96 MB / 0.4955 GB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.3402, allocations: 0 / 0.4955 GB, free: 8.586 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.499e-05/0.3402, allocations: 19.94 kB / 0.4955 GB, free: 8.566 MB / 378.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.001827/0.342, allocations: 1.173 MB / 0.4967 GB, free: 7.324 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3421, allocations: 12.03 kB / 0.4967 GB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.3423, allocations: 123.7 kB / 0.4968 GB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.3424, allocations: 106.9 kB / 0.4969 GB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007287/0.3432, allocations: 0.5196 MB / 0.4974 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.3434, allocations: 154.3 kB / 0.4975 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.422e-05/0.3435, allocations: 60 kB / 0.4976 GB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.3447, allocations: 0.8627 MB / 0.4984 GB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3447, allocations: 0 / 0.4984 GB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.153e-05/0.3448, allocations: 28 kB / 0.4985 GB, free: 5.293 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.3448, allocations: 16 kB / 0.4985 GB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.3459, allocations: 0.5946 MB / 0.4991 GB, free: 4.684 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003079/0.349, allocations: 2.143 MB / 0.5012 GB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.3508, allocations: 1.029 MB / 0.5022 GB, free: 1.352 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.143e-05/0.3509, allocations: 24.83 kB / 0.5022 GB, free: 1.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.3509, allocations: 47.16 kB / 0.5022 GB, free: 1.273 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 1.733e-06/0.3509, allocations: 0 / 0.5022 GB, free: 1.273 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.1871/0.538, allocations: 1.853 MB / 0.504 GB, free: 90.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.5381, allocations: 0.8216 MB / 0.5048 GB, free: 89.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008337/0.539, allocations: 0.565 MB / 0.5054 GB, free: 89.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.427e-05/0.5391, allocations: 42.83 kB / 0.5054 GB, free: 89.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.5393, allocations: 333.6 kB / 0.5058 GB, free: 88.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.5395, allocations: 256.6 kB / 0.506 GB, free: 88.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.5396, allocations: 15.81 kB / 0.506 GB, free: 88.79 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.5397, allocations: 388 kB / 0.5064 GB, free: 88.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.5402, allocations: 259.8 kB / 0.5066 GB, free: 88.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006777/0.5409, allocations: 0.5322 MB / 0.5072 GB, free: 88.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005804/0.5415, allocations: 392.1 kB / 0.5075 GB, free: 88.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.5415, allocations: 0 / 0.5075 GB, free: 88.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002377/0.5439, allocations: 1.119 MB / 0.5086 GB, free: 87.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.544, allocations: 85.25 kB / 0.5087 GB, free: 87.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.544, allocations: 1.406 kB / 0.5087 GB, free: 87.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006894/0.5447, allocations: 250.6 kB / 0.5089 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.5453, allocations: 135.8 kB / 0.5091 GB, free: 87.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006628/0.5519, allocations: 6.585 MB / 0.5155 GB, free: 82.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000749/0.5527, allocations: 105.3 kB / 0.5156 GB, free: 82.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.68e-05/0.5528, allocations: 22.09 kB / 0.5156 GB, free: 82.62 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.0003308/0.5531, allocations: 223.6 kB / 0.5158 GB, free: 82.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.5532, allocations: 87.28 kB / 0.5159 GB, free: 82.46 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.5534, allocations: 95.2 kB / 0.516 GB, free: 82.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.5534, allocations: 11.28 kB / 0.516 GB, free: 82.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.5534, allocations: 3.375 kB / 0.516 GB, free: 82.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001985/0.5554, allocations: 1.262 MB / 0.5173 GB, free: 81.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.5584, allocations: 1.917 MB / 0.5191 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.5584, allocations: 6.297 kB / 0.5191 GB, free: 81.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005744/0.559, allocations: 130.1 kB / 0.5193 GB, free: 81.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004735/0.5595, allocations: 222 kB / 0.5195 GB, free: 80.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-05/0.5596, allocations: 18.98 kB / 0.5195 GB, free: 80.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004987/0.5645, allocations: 5.131 MB / 0.5245 GB, free: 76.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5646, allocations: 3.953 kB / 0.5245 GB, free: 76.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002434/0.567, allocations: 1.393 MB / 0.5259 GB, free: 75.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002735/0.5673, allocations: 234.6 kB / 0.5261 GB, free: 75.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.219e-05/0.5674, allocations: 19.88 kB / 0.5261 GB, free: 75.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.5679, allocations: 44.8 kB / 0.5262 GB, free: 75.76 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.568, allocations: 61.03 kB / 0.5262 GB, free: 75.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.568, allocations: 18.69 kB / 0.5262 GB, free: 75.74 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004365/0.5685, allocations: 454.2 kB / 0.5267 GB, free: 75.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5685, allocations: 4 kB / 0.5267 GB, free: 75.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007334/0.5692, allocations: 290 kB / 0.5269 GB, free: 75.5 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.002669/0.5719, allocations: 1.977 MB / 0.5289 GB, free: 74.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001526/0.5734, allocations: 1.326 MB / 0.5302 GB, free: 73.46 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5735, allocations: 0 / 0.5302 GB, free: 73.46 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.5745, allocations: 0.7706 MB / 0.5309 GB, free: 72.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007119/0.5752, allocations: 200.5 kB / 0.5311 GB, free: 72.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/0.5779, allocations: 2.715 MB / 0.5338 GB, free: 70.78 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.5782, allocations: 0.9553 MB / 0.5347 GB, free: 69.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003368/0.5786, allocations: 98.42 kB / 0.5348 GB, free: 69.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.5789, allocations: 286.4 kB / 0.5351 GB, free: 69.59 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.5789, allocations: 4 kB / 0.5351 GB, free: 69.59 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03372/0.6126, allocations: 22.17 MB / 0.5567 GB, free: 49.51 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/0.6128, allocations: 221.7 kB / 0.5569 GB, free: 49.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/3.172, allocations: 0 / 0.5569 GB, free: 49.26 MB / 378.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