Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_cpp_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.001475/0.001475, allocations: 185 kB / 16.41 MB, free: 5.727 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.993/1.993, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001153/0.001152, allocations: 88.44 kB / 270.9 MB, free: 8.391 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003802, allocations: 8 kB / 327.1 MB, free: 120 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3392, allocations: 47.56 MB / 374.6 MB, free: 45.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.134/0.4732, allocations: 81.66 MB / 456.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.4735, allocations: 79.97 kB / 456.4 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04371/0.5173, allocations: 10.08 MB / 466.5 MB, free: 4.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5173, allocations: 0 / 466.5 MB, free: 4.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.111e-05/0.5174, allocations: 12 kB / 466.5 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.00213/0.5195, allocations: 0.8234 MB / 467.3 MB, free: 3.855 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.5196, allocations: 12.03 kB / 467.3 MB, free: 3.844 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000197/0.5198, allocations: 83.03 kB / 467.4 MB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.52, allocations: 63.25 kB / 467.4 MB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008569/0.5208, allocations: 386 kB / 467.8 MB, free: 3.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.521, allocations: 62.31 kB / 467.9 MB, free: 3.207 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.124e-05/0.5211, allocations: 36 kB / 467.9 MB, free: 3.172 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.5225, allocations: 0.4892 MB / 468.4 MB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.5226, allocations: 4 kB / 468.4 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.575e-05/0.5226, allocations: 20 kB / 468.4 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.5227, allocations: 8 kB / 468.4 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.5242, allocations: 374.4 kB / 468.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003658/0.5279, allocations: 1.303 MB / 470.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.5293, allocations: 450.7 kB / 470.5 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-05/0.5294, allocations: 11.97 kB / 470.6 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.5294, allocations: 38.56 kB / 470.6 MB, free: 336 kB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 2.325e-06/0.5294, allocations: 0 / 470.6 MB, free: 336 kB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002853/0.5323, allocations: 0.7821 MB / 471.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002552/0.5326, allocations: 449.6 kB / 471.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008026/0.5334, allocations: 397.1 kB / 472.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.139e-05/0.5335, allocations: 37.7 kB / 472.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.5337, allocations: 278.8 kB / 472.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.5339, allocations: 126.2 kB / 472.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.914e-05/0.534, allocations: 4 kB / 472.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5341, allocations: 334.7 kB / 473 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006964/0.5349, allocations: 151.9 kB / 473.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008954/0.5358, allocations: 310 kB / 473.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007661/0.5366, allocations: 194.4 kB / 473.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5366, allocations: 0 / 473.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001827/0.5384, allocations: 492.8 kB / 474.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.5385, allocations: 37.69 kB / 474.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.5385, allocations: 0 / 474.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/0.5387, allocations: 45.7 kB / 474.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007966/0.5396, allocations: 95.88 kB / 474.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/0.5432, allocations: 2.764 MB / 477 MB, free: 9.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007737/0.544, allocations: 63.77 kB / 477.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.5441, allocations: 15.95 kB / 477.1 MB, free: 9.285 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.0003997/0.5445, allocations: 169.8 kB / 477.3 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001349/0.5446, allocations: 51.44 kB / 477.3 MB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000155/0.5448, allocations: 53.12 kB / 477.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.5448, allocations: 8 kB / 477.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5448, allocations: 0 / 477.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001698/0.5465, allocations: 0.7635 MB / 478.1 MB, free: 8.129 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.5496, allocations: 1.075 MB / 479.2 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.5496, allocations: 4 kB / 479.2 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008648/0.5505, allocations: 91.88 kB / 479.3 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.5505, allocations: 0 / 479.3 MB, free: 6.895 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/0.5506, allocations: 19.98 kB / 479.3 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.5506, allocations: 0 / 479.3 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.5506, allocations: 3.953 kB / 479.3 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/0.5531, allocations: 0.7015 MB / 480 MB, free: 6.152 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/0.5535, allocations: 168.5 kB / 480.2 MB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.5537, allocations: 8 kB / 480.2 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000567/0.5542, allocations: 39.94 kB / 480.2 MB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.5544, allocations: 27.92 kB / 480.3 MB, free: 5.895 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.5544, allocations: 15.92 kB / 480.3 MB, free: 5.879 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000618/0.555, allocations: 319.1 kB / 480.6 MB, free: 5.574 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.256e-06/0.5551, allocations: 0 / 480.6 MB, free: 5.574 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007204/0.5558, allocations: 151.8 kB / 480.7 MB, free: 5.426 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.002859/0.5587, allocations: 1.267 MB / 482 MB, free: 4.133 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002065/0.5608, allocations: 0.6684 MB / 482.7 MB, free: 3.426 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.5608, allocations: 4 kB / 482.7 MB, free: 3.422 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007473/0.5616, allocations: 195.6 kB / 482.9 MB, free: 3.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.5627, allocations: 128.1 kB / 483 MB, free: 3.105 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003394/0.5661, allocations: 1.68 MB / 484.7 MB, free: 1.367 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004989/0.5666, allocations: 0.8394 MB / 485.5 MB, free: 0.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004995/0.5671, allocations: 175.4 kB / 485.7 MB, free: 336 kB / 362.7 MB Notification: Performance of SimCode: time 1.533e-06/0.5671, allocations: 0 / 485.7 MB, free: 336 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.789/3.357, allocations: 10.49 MB / 496.2 MB, free: 5.859 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat