Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.001266/0.001266, allocations: 180.5 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.4 MB / 223.1 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009187/0.0009186, allocations: 92.16 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002495/0.0002495, allocations: 8 kB / 328.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2547, allocations: 47.56 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09673/0.3515, allocations: 81.66 MB / 457.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.3517, allocations: 75.97 kB / 457.6 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02636/0.3781, allocations: 10.08 MB / 467.7 MB, free: 4.754 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3781, allocations: 7.938 kB / 467.7 MB, free: 4.746 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.695e-05/0.3782, allocations: 8 kB / 467.7 MB, free: 4.738 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001367/0.3795, allocations: 0.8156 MB / 468.5 MB, free: 3.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3796, allocations: 12.03 kB / 468.6 MB, free: 3.852 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.3797, allocations: 86.97 kB / 468.6 MB, free: 3.758 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.3798, allocations: 67.25 kB / 468.7 MB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000564/0.3804, allocations: 390 kB / 469.1 MB, free: 3.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.45e-05/0.3805, allocations: 66.3 kB / 469.2 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.268e-05/0.3806, allocations: 32 kB / 469.2 MB, free: 3.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000803/0.3814, allocations: 497 kB / 469.7 MB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3814, allocations: 3.938 kB / 469.7 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.3815, allocations: 20 kB / 469.7 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.3815, allocations: 8 kB / 469.7 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008023/0.3823, allocations: 374.4 kB / 470.1 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002082/0.3844, allocations: 1.307 MB / 471.4 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007766/0.3852, allocations: 446.1 kB / 471.8 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/0.3852, allocations: 15.97 kB / 471.8 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.3853, allocations: 46.56 kB / 471.9 MB, free: 328 kB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 3.427e-06/0.3853, allocations: 0 / 471.9 MB, free: 328 kB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.00163/0.3869, allocations: 0.7704 MB / 472.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001768/0.3871, allocations: 448.9 kB / 473.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004867/0.3876, allocations: 397.8 kB / 473.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.3876, allocations: 37.7 kB / 473.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.3878, allocations: 252.3 kB / 473.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.754e-05/0.3879, allocations: 118.2 kB / 473.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.013e-05/0.388, allocations: 8 kB / 473.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.3881, allocations: 362.7 kB / 474.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.3885, allocations: 159.8 kB / 474.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/0.389, allocations: 298 kB / 474.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.3894, allocations: 198.4 kB / 474.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3894, allocations: 4 kB / 474.9 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009597/0.3904, allocations: 0.5121 MB / 475.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.629e-05/0.3904, allocations: 29.7 kB / 475.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3904, allocations: 80 / 475.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001564/0.3906, allocations: 53.69 kB / 475.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/0.391, allocations: 91.88 kB / 475.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.3932, allocations: 2.779 MB / 478.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000404/0.3936, allocations: 59.66 kB / 478.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.3936, allocations: 15.95 kB / 478.4 MB, free: 9.246 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * 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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000244/0.3939, allocations: 173.8 kB / 478.6 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-05/0.394, allocations: 47.44 kB / 478.6 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.3941, allocations: 56.75 kB / 478.7 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3941, allocations: 7.938 kB / 478.7 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3941, allocations: 4 kB / 478.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000955/0.3951, allocations: 0.7596 MB / 479.5 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.3967, allocations: 1.072 MB / 480.5 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3967, allocations: 0 / 480.5 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004579/0.3972, allocations: 99.88 kB / 480.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.3972, allocations: 4 kB / 480.6 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3972, allocations: 4 kB / 480.6 MB, free: 6.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.3973, allocations: 4 kB / 480.6 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3973, allocations: 3.953 kB / 480.6 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.3985, allocations: 0.7054 MB / 481.3 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.3987, allocations: 164.5 kB / 481.5 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.3987, allocations: 12 kB / 481.5 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.3991, allocations: 43.97 kB / 481.6 MB, free: 5.879 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.948e-05/0.3991, allocations: 23.92 kB / 481.6 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.3992, allocations: 8 kB / 481.6 MB, free: 5.848 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003547/0.3995, allocations: 323.1 kB / 481.9 MB, free: 5.539 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3995, allocations: 0 / 481.9 MB, free: 5.539 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004586/0.4, allocations: 151.7 kB / 482.1 MB, free: 5.391 MB / 362.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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.00158/0.4016, allocations: 1.267 MB / 483.3 MB, free: 4.098 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.4028, allocations: 0.6723 MB / 484 MB, free: 3.387 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4028, allocations: 0 / 484 MB, free: 3.387 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.4032, allocations: 199.7 kB / 484.2 MB, free: 3.191 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006148/0.4038, allocations: 136 kB / 484.3 MB, free: 3.059 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.406, allocations: 1.628 MB / 485.9 MB, free: 1.379 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003787/0.4064, allocations: 0.8433 MB / 486.8 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.4067, allocations: 64.28 kB / 486.9 MB, free: 456 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/0.4069, allocations: 171.4 kB / 487 MB, free: 284 kB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4069, allocations: 0 / 487 MB, free: 284 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02761/0.4346, allocations: 12 MB / 499 MB, free: 4.301 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.4348, allocations: 201.5 kB / 499.2 MB, free: 4.062 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/2.638, allocations: 0 / 499.2 MB, free: 4.062 MB / 378.7 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat