Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_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.002417/0.002417, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.3 MB / 214.4 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000882/0.000882, allocations: 82.7 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.012e-05/2.015e-05, allocations: 0 / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 47.6 MB / 363.2 MB, free: 6.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4126/0.5312, allocations: 81.27 MB / 444.4 MB, free: 14.12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.5314, allocations: 73.28 kB / 444.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05004/0.5815, allocations: 16.01 MB / 460.5 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5816, allocations: 0 / 460.5 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.391e-05/0.5817, allocations: 27.92 kB / 460.5 MB, free: 0.918 MB / 330.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.002562/0.5842, allocations: 1.033 MB / 461.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.388e-05/0.5843, allocations: 12.03 kB / 461.6 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002624/0.5846, allocations: 102.9 kB / 461.7 MB, free: 15.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.5858, allocations: 0.5215 MB / 462.2 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/0.5861, allocations: 142.3 kB / 462.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.5862, allocations: 36 kB / 462.4 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001305/0.5876, allocations: 470.8 kB / 462.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.5892, allocations: 0.7052 MB / 463.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.5892, allocations: 0 / 463.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-05/0.5893, allocations: 11.94 kB / 463.6 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.5893, allocations: 15.94 kB / 463.6 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004855/0.5942, allocations: 1.967 MB / 465.5 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.5959, allocations: 0.865 MB / 466.4 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004953/0.5964, allocations: 323 kB / 466.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.978e-05/0.5965, allocations: 16.84 kB / 466.7 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.5965, allocations: 48.95 kB / 466.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 2.776e-06/0.5965, allocations: 0 / 466.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.002246/0.5988, allocations: 0.828 MB / 467.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005588/0.5994, allocations: 0.8268 MB / 468.4 MB, free: 9.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009446/0.6003, allocations: 467.8 kB / 468.9 MB, free: 9.609 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001043/0.6004, allocations: 29.7 kB / 468.9 MB, free: 9.574 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.6008, allocations: 330.7 kB / 469.3 MB, free: 9.367 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003114/0.6011, allocations: 254 kB / 469.5 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.6012, allocations: 0 / 469.5 MB, free: 9.145 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002737/0.6015, allocations: 378.9 kB / 469.9 MB, free: 8.797 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.602, allocations: 204.5 kB / 470.1 MB, free: 8.68 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008639/0.6029, allocations: 467.8 kB / 470.5 MB, free: 8.242 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/0.6036, allocations: 251.3 kB / 470.8 MB, free: 8.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.6036, allocations: 3.953 kB / 470.8 MB, free: 8.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003056/0.6067, allocations: 0.8872 MB / 471.7 MB, free: 7.375 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.472e-05/0.6068, allocations: 89.09 kB / 471.8 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.6068, allocations: 0 / 471.8 MB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009397/0.6078, allocations: 219.3 kB / 472 MB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/0.6086, allocations: 131.4 kB / 472.1 MB, free: 6.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009538/0.6182, allocations: 6.033 MB / 478.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.6196, allocations: 87.39 kB / 478.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/0.6197, allocations: 19.81 kB / 478.2 MB, free: 0.9414 MB / 346.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.0003973/0.6201, allocations: 132.2 kB / 478.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002573/0.6227, allocations: 0.8249 MB / 479.2 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.6229, allocations: 83.06 kB / 479.3 MB, free: 64 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003014/0.6232, allocations: 76.59 kB / 479.3 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.6232, allocations: 8 kB / 479.4 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.6232, allocations: 0 / 479.4 MB, free: 16 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002724/0.626, allocations: 1.121 MB / 480.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005089/0.6311, allocations: 1.727 MB / 482.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.852e-06/0.6311, allocations: 0 / 482.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009243/0.6321, allocations: 135.9 kB / 482.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006461/0.6327, allocations: 162.4 kB / 482.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/0.6328, allocations: 11.98 kB / 482.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00794/0.6408, allocations: 4.659 MB / 487.2 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.6408, allocations: 0 / 487.2 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003818/0.6446, allocations: 1.233 MB / 488.4 MB, free: 6.422 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006418/0.6453, allocations: 231.9 kB / 488.6 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.6454, allocations: 0 / 488.6 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007257/0.6462, allocations: 31.97 kB / 488.7 MB, free: 6.145 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/0.6464, allocations: 64.64 kB / 488.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.647e-05/0.6465, allocations: 20 kB / 488.7 MB, free: 6.059 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008273/0.6473, allocations: 370.9 kB / 489.1 MB, free: 5.699 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.6474, allocations: 0 / 489.1 MB, free: 5.699 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001494/0.6489, allocations: 263.7 kB / 489.4 MB, free: 5.441 MB / 362.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.004146/0.653, allocations: 1.937 MB / 491.3 MB, free: 3.461 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002786/0.6558, allocations: 1.171 MB / 492.5 MB, free: 2.211 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.864e-06/0.6559, allocations: 4 kB / 492.5 MB, free: 2.207 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001587/0.6574, allocations: 0.6799 MB / 493.1 MB, free: 1.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.659, allocations: 179.1 kB / 493.3 MB, free: 1.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.663, allocations: 1.312 MB / 494.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008483/0.6639, allocations: 0.9559 MB / 495.6 MB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006103/0.6645, allocations: 89.91 kB / 495.7 MB, free: 14.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/0.6651, allocations: 287.3 kB / 496 MB, free: 14.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.572e-06/0.6651, allocations: 4 kB / 496 MB, free: 14.61 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07007/0.7352, allocations: 20.1 MB / 0.504 GB, free: 10.46 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003551/0.7357, allocations: 153.7 kB / 0.5041 GB, free: 10.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.806/3.542, allocations: 0 / 0.5041 GB, free: 10.27 MB / 394.7 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat