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.001025/0.001025, allocations: 172.2 kB / 14.1 MB, free: 1.223 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.358/1.358, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008387/0.0008387, allocations: 82.66 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.672e-05/4.675e-05, allocations: 4 kB / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08431/0.08437, allocations: 47.57 MB / 370.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3053/0.3898, allocations: 81.56 MB / 451.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.3901, allocations: 78.23 kB / 451.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02568/0.4158, allocations: 10.07 MB / 461.8 MB, free: 3.027 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4159, allocations: 0 / 461.8 MB, free: 3.027 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.861e-05/0.4159, allocations: 15.98 kB / 461.8 MB, free: 3.012 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001128/0.417, allocations: 0.7461 MB / 462.6 MB, free: 2.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.4171, allocations: 8.031 kB / 462.6 MB, free: 2.207 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/0.4172, allocations: 75.3 kB / 462.7 MB, free: 2.125 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.974e-05/0.4173, allocations: 63.25 kB / 462.7 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005319/0.4179, allocations: 394 kB / 463.1 MB, free: 1.637 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.724e-05/0.418, allocations: 62.44 kB / 463.2 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.332e-05/0.418, allocations: 32 kB / 463.2 MB, free: 1.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.4187, allocations: 450.9 kB / 463.6 MB, free: 1.039 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4187, allocations: 4 kB / 463.6 MB, free: 1.035 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.4187, allocations: 16 kB / 463.7 MB, free: 1.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.4187, allocations: 8 kB / 463.7 MB, free: 1.012 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.4192, allocations: 275.1 kB / 463.9 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.4212, allocations: 1.3 MB / 465.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/0.4217, allocations: 371.8 kB / 465.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.422, allocations: 152.7 kB / 465.7 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.422, allocations: 8 kB / 465.8 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.422, allocations: 42.5 kB / 465.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.784e-06/0.422, allocations: 0 / 465.8 MB, free: 14.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.0007296/0.4228, allocations: 383 kB / 466.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001885/0.423, allocations: 445 kB / 466.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004365/0.4234, allocations: 399.1 kB / 467 MB, free: 13.45 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.4235, allocations: 37.7 kB / 467 MB, free: 13.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.4236, allocations: 240.5 kB / 467.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.4238, allocations: 130.1 kB / 467.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.111e-05/0.4238, allocations: 8 kB / 467.4 MB, free: 13.03 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4239, allocations: 358.8 kB / 467.8 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.4241, allocations: 108 kB / 467.9 MB, free: 12.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.4244, allocations: 242.2 kB / 468.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.4247, allocations: 160 kB / 468.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4247, allocations: 0 / 468.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007044/0.4254, allocations: 448.3 kB / 468.7 MB, free: 11.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.4254, allocations: 36.83 kB / 468.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.4255, allocations: 4.031 kB / 468.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/0.4257, allocations: 53.69 kB / 468.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/0.4261, allocations: 91.88 kB / 468.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.4283, allocations: 2.736 MB / 471.6 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.4287, allocations: 68.25 kB / 471.7 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.33e-05/0.4287, allocations: 19.98 kB / 471.7 MB, free: 8.371 MB / 346.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 (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.0001352/0.4289, allocations: 128.9 kB / 471.8 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.371e-05/0.429, allocations: 51.44 kB / 471.9 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.4291, allocations: 52.88 kB / 471.9 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.4291, allocations: 4 kB / 471.9 MB, free: 8.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.4291, allocations: 3.938 kB / 471.9 MB, free: 8.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006468/0.4298, allocations: 0.6609 MB / 472.6 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.431, allocations: 0.982 MB / 473.6 MB, free: 6.316 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4311, allocations: 4 kB / 473.6 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.4315, allocations: 95.88 kB / 473.7 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4315, allocations: 0 / 473.7 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.4315, allocations: 11.98 kB / 473.7 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4316, allocations: 7.953 kB / 473.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4316, allocations: 0 / 473.7 MB, free: 6.199 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007319/0.4323, allocations: 0.5495 MB / 474.2 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001807/0.4325, allocations: 168.5 kB / 474.4 MB, free: 5.449 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.709e-05/0.4326, allocations: 8 kB / 474.4 MB, free: 5.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.4329, allocations: 40.03 kB / 474.5 MB, free: 5.402 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.433, allocations: 35.95 kB / 474.5 MB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.433, allocations: 8 kB / 474.5 MB, free: 5.359 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000327/0.4333, allocations: 317.2 kB / 474.8 MB, free: 5.051 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4333, allocations: 0 / 474.8 MB, free: 5.051 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004241/0.4338, allocations: 147.7 kB / 474.9 MB, free: 4.906 MB / 346.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.001071/0.4348, allocations: 1.13 MB / 476.1 MB, free: 3.746 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008519/0.4357, allocations: 0.5746 MB / 476.7 MB, free: 3.133 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4357, allocations: 0 / 476.7 MB, free: 3.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.4359, allocations: 143.9 kB / 476.8 MB, free: 2.992 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006238/0.4366, allocations: 142.6 kB / 476.9 MB, free: 2.855 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.4381, allocations: 0.7441 MB / 477.7 MB, free: 2.074 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/0.4385, allocations: 0.8433 MB / 478.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002405/0.4387, allocations: 60.34 kB / 478.6 MB, free: 1.141 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/0.439, allocations: 175.4 kB / 478.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.439, allocations: 0 / 478.7 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02782/0.4668, allocations: 12.08 MB / 490.8 MB, free: 4.875 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.467, allocations: 172 kB / 491 MB, free: 4.656 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.179/2.646, allocations: 7.875 kB / 491 MB, free: 4.648 MB / 362.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