Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.001474/0.001474, allocations: 176.2 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 221.5 MB / 230.3 MB, free: 7.574 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.0008691/0.0008691, allocations: 94.03 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.602e-05/1.606e-05, allocations: 4 kB / 337.1 MB, free: 9.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 50.41 MB / 387.5 MB, free: 7.488 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3183/0.4395, allocations: 80.29 MB / 467.8 MB, free: 14.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.4398, allocations: 71.97 kB / 467.9 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02518/0.465, allocations: 9.829 MB / 477.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.465, allocations: 0 / 477.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.967e-05/0.4651, allocations: 12 kB / 477.7 MB, free: 4.555 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.001259/0.4663, allocations: 0.7306 MB / 478.5 MB, free: 3.773 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.4664, allocations: 8.25 kB / 478.5 MB, free: 3.766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.4665, allocations: 71.25 kB / 478.6 MB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/0.4671, allocations: 399.8 kB / 478.9 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.672e-05/0.4672, allocations: 50.42 kB / 479 MB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.4673, allocations: 19.98 kB / 479 MB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00049/0.4678, allocations: 253.5 kB / 479.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005632/0.4684, allocations: 393.7 kB / 479.6 MB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.4684, allocations: 7.938 kB / 479.7 MB, free: 2.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.799e-05/0.4684, allocations: 8 kB / 479.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.4684, allocations: 15.94 kB / 479.7 MB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.4705, allocations: 1.201 MB / 480.9 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.4709, allocations: 351.8 kB / 481.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.4711, allocations: 136.9 kB / 481.4 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.991e-05/0.4712, allocations: 8 kB / 481.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.4712, allocations: 46.48 kB / 481.4 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.765e-06/0.4712, allocations: 0 / 481.4 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.0006909/0.4719, allocations: 351 kB / 481.7 MB, free: 280 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/0.4721, allocations: 445 kB / 482.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003821/0.4725, allocations: 357.3 kB / 482.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.4725, allocations: 29.7 kB / 482.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001571/0.4727, allocations: 244.6 kB / 482.8 MB, free: 15.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.008e-05/0.4728, allocations: 118.2 kB / 482.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.4728, allocations: 4 kB / 482.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.473, allocations: 355.4 kB / 483.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.4731, allocations: 96 kB / 483.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/0.4734, allocations: 239.1 kB / 483.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.4736, allocations: 128.4 kB / 483.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4736, allocations: 3.953 kB / 483.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006132/0.4742, allocations: 374.3 kB / 484.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.4743, allocations: 38.88 kB / 484.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4743, allocations: 7.938 kB / 484.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.4745, allocations: 57.64 kB / 484.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004054/0.4749, allocations: 95.91 kB / 484.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.477, allocations: 2.638 MB / 486.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.4774, allocations: 47.7 kB / 487 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.4774, allocations: 15.94 kB / 487 MB, free: 10.59 MB / 362.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: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 (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.0001775/0.4776, allocations: 123 kB / 487.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006322/0.4782, allocations: 354.4 kB / 487.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.723e-05/0.4783, allocations: 47.44 kB / 487.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.4785, allocations: 53.02 kB / 487.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4785, allocations: 4 kB / 487.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.4785, allocations: 0 / 487.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005473/0.479, allocations: 0.6458 MB / 488.2 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.4803, allocations: 0.8925 MB / 489.1 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4803, allocations: 0 / 489.1 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004686/0.4808, allocations: 103.9 kB / 489.2 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.4808, allocations: 0 / 489.2 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.4809, allocations: 4 kB / 489.2 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.4809, allocations: 4 kB / 489.2 MB, free: 8.203 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.4809, allocations: 3.953 kB / 489.2 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007454/0.4816, allocations: 0.5229 MB / 489.7 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/0.4819, allocations: 164.5 kB / 489.9 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.027e-05/0.4819, allocations: 0 / 489.9 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003224/0.4823, allocations: 32.03 kB / 489.9 MB, free: 7.449 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.976e-05/0.4823, allocations: 35.72 kB / 490 MB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.4824, allocations: 8 kB / 490 MB, free: 7.406 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000314/0.4827, allocations: 279 kB / 490.2 MB, free: 7.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4827, allocations: 0 / 490.2 MB, free: 7.137 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004943/0.4832, allocations: 139.7 kB / 490.4 MB, free: 7 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 () * 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.001107/0.4843, allocations: 1.083 MB / 491.5 MB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008691/0.4852, allocations: 0.5456 MB / 492 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4852, allocations: 0 / 492 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.4855, allocations: 144 kB / 492.1 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000625/0.4861, allocations: 110.7 kB / 492.2 MB, free: 5.062 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.4877, allocations: 0.7076 MB / 493 MB, free: 4.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.4881, allocations: 0.843 MB / 493.8 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002716/0.4884, allocations: 52.16 kB / 493.8 MB, free: 3.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.4887, allocations: 163.4 kB / 494 MB, free: 3.238 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.4887, allocations: 0 / 494 MB, free: 3.238 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.5186, allocations: 10.58 MB / 0.4928 GB, free: 8.809 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001832/0.5189, allocations: 138.6 kB / 0.4929 GB, free: 8.613 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/2.743, allocations: 2.531 kB / 0.4929 GB, free: 8.613 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat