Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 175 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 221.3 MB / 235.5 MB, free: 2.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008768/0.0008767, allocations: 95.72 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.561e-05/2.574e-05, allocations: 0 / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1113, allocations: 50.42 MB / 394.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3698/0.4811, allocations: 80.25 MB / 474.6 MB, free: 7.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002349/0.4814, allocations: 75.95 kB / 474.7 MB, free: 7.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02491/0.5064, allocations: 9.393 MB / 484.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5064, allocations: 4 kB / 484.1 MB, free: 13.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.823e-05/0.5065, allocations: 11.94 kB / 484.1 MB, free: 13.64 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001071/0.5075, allocations: 0.6838 MB / 484.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5076, allocations: 8.031 kB / 484.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.5077, allocations: 75.3 kB / 484.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.5079, allocations: 71.19 kB / 484.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.5084, allocations: 372.3 kB / 485.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.5085, allocations: 62.47 kB / 485.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.5086, allocations: 36 kB / 485.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006642/0.5093, allocations: 443.2 kB / 485.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.5093, allocations: 3.953 kB / 485.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.5093, allocations: 19.94 kB / 485.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.5094, allocations: 12 kB / 485.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.5098, allocations: 263.1 kB / 486.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.5119, allocations: 1.265 MB / 487.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.513, allocations: 428.2 kB / 487.8 MB, free: 9.656 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.5133, allocations: 133.4 kB / 487.9 MB, free: 9.523 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.5133, allocations: 8.281 kB / 487.9 MB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.5134, allocations: 46.78 kB / 488 MB, free: 9.461 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 2.355e-06/0.5134, allocations: 0 / 488 MB, free: 9.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.0007173/0.5141, allocations: 344.8 kB / 488.3 MB, free: 9.113 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002152/0.5143, allocations: 441 kB / 488.7 MB, free: 8.578 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004558/0.5148, allocations: 395.2 kB / 489.1 MB, free: 8.188 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.5148, allocations: 37.7 kB / 489.2 MB, free: 8.145 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.515, allocations: 236.3 kB / 489.4 MB, free: 7.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.5151, allocations: 122.3 kB / 489.5 MB, free: 7.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/0.5152, allocations: 4 kB / 489.5 MB, free: 7.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.5153, allocations: 354.8 kB / 489.9 MB, free: 7.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.5155, allocations: 99.98 kB / 490 MB, free: 7.332 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.5158, allocations: 242.7 kB / 490.2 MB, free: 7.039 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.5161, allocations: 151.2 kB / 490.3 MB, free: 6.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.5161, allocations: 0 / 490.3 MB, free: 6.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007127/0.5168, allocations: 422.2 kB / 490.8 MB, free: 6.457 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.5168, allocations: 33.7 kB / 490.8 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5168, allocations: 0 / 490.8 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003079/0.5172, allocations: 77.69 kB / 490.9 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003307/0.5175, allocations: 63.91 kB / 490.9 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.52, allocations: 2.761 MB / 493.7 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.5204, allocations: 47.62 kB / 493.7 MB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.5204, allocations: 15.94 kB / 493.7 MB, free: 3.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.5206, allocations: 129.6 kB / 493.9 MB, free: 3.047 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.601e-05/0.5207, allocations: 55.41 kB / 493.9 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.5208, allocations: 52.81 kB / 494 MB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5208, allocations: 4 kB / 494 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5208, allocations: 0 / 494 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006048/0.5214, allocations: 0.6335 MB / 494.6 MB, free: 2.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.5227, allocations: 0.8919 MB / 495.5 MB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.5228, allocations: 96 / 495.5 MB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.5231, allocations: 83.83 kB / 495.6 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5231, allocations: 0 / 495.6 MB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.68e-05/0.5232, allocations: 8 kB / 495.6 MB, free: 1.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.5232, allocations: 3.953 kB / 495.6 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.5232, allocations: 0 / 495.6 MB, free: 1.152 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006866/0.5239, allocations: 0.4989 MB / 496.1 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.5241, allocations: 160.5 kB / 496.3 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.5241, allocations: 16.06 kB / 496.3 MB, free: 456 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.5244, allocations: 19.98 kB / 496.3 MB, free: 436 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.5244, allocations: 19.88 kB / 496.3 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.5245, allocations: 15.98 kB / 496.3 MB, free: 400 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003737/0.5248, allocations: 309.2 kB / 496.6 MB, free: 92 kB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5249, allocations: 4 kB / 496.6 MB, free: 88 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004489/0.5253, allocations: 135.9 kB / 496.8 MB, free: 15.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001087/0.5264, allocations: 1.06 MB / 497.8 MB, free: 14.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009826/0.5274, allocations: 0.5594 MB / 498.4 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5274, allocations: 4.125 kB / 498.4 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.5276, allocations: 119.9 kB / 498.5 MB, free: 14.15 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.5282, allocations: 122.8 kB / 498.6 MB, free: 14.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.5297, allocations: 0.7149 MB / 499.3 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.5302, allocations: 0.8276 MB / 0.4884 GB, free: 12.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002451/0.5304, allocations: 64.22 kB / 0.4885 GB, free: 12.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.5307, allocations: 161.1 kB / 0.4887 GB, free: 12.2 MB / 378.7 MB Notification: Performance of SimCode: time 9.02e-07/0.5307, allocations: 0 / 0.4887 GB, free: 12.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/0.5587, allocations: 11.54 MB / 0.4999 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/0.559, allocations: 187 kB / 0.5001 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/2.959, allocations: 3.938 kB / 0.5001 GB, free: 0.6719 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat