Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",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.00228/0.00228, allocations: 179.8 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.114/2.114, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001535/0.001534, allocations: 90.58 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.46e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 47.57 MB / 369.2 MB, free: 2.121 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4292/0.5344, allocations: 78.22 MB / 447.4 MB, free: 14.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.5347, allocations: 67.81 kB / 447.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02024/0.555, allocations: 3.868 MB / 451.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5551, allocations: 0 / 451.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.927e-05/0.5551, allocations: 4 kB / 451.3 MB, free: 11.28 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001882/0.557, allocations: 0.4995 MB / 451.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.883e-05/0.5571, allocations: 8.031 kB / 451.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002426/0.5574, allocations: 63.05 kB / 451.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002675/0.5577, allocations: 23.72 kB / 451.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005991/0.5583, allocations: 224.2 kB / 452.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.5584, allocations: 19.45 kB / 452.2 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.241e-05/0.5585, allocations: 19.06 kB / 452.2 MB, free: 10.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009659/0.5595, allocations: 212.8 kB / 452.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.5596, allocations: 4 kB / 452.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.709e-05/0.5597, allocations: 9.188 kB / 452.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.5597, allocations: 8 kB / 452.4 MB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/0.5605, allocations: 130 kB / 452.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003963/0.5645, allocations: 0.8302 MB / 453.4 MB, free: 9.359 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008505/0.5654, allocations: 158.3 kB / 453.5 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.5658, allocations: 64.92 kB / 453.6 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.5659, allocations: 0 / 453.6 MB, free: 9.195 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.5659, allocations: 41.77 kB / 453.6 MB, free: 9.148 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 3.607e-06/0.566, allocations: 4 kB / 453.6 MB, free: 9.145 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008811/0.5669, allocations: 155.3 kB / 453.8 MB, free: 9.016 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.567, allocations: 51.41 kB / 453.8 MB, free: 8.953 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.5673, allocations: 156 kB / 454 MB, free: 8.805 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/0.5674, allocations: 33.33 kB / 454 MB, free: 8.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002403/0.5677, allocations: 205.5 kB / 454.2 MB, free: 8.582 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.5678, allocations: 50.58 kB / 454.3 MB, free: 8.539 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.5679, allocations: 4 kB / 454.3 MB, free: 8.535 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.5681, allocations: 322.5 kB / 454.6 MB, free: 8.215 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.5683, allocations: 39 kB / 454.6 MB, free: 8.191 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.5686, allocations: 78.36 kB / 454.7 MB, free: 8.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.5689, allocations: 46.61 kB / 454.7 MB, free: 8.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.5689, allocations: 3.953 kB / 454.7 MB, free: 8.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009115/0.5698, allocations: 181.6 kB / 454.9 MB, free: 7.941 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.799e-05/0.5699, allocations: 8 kB / 454.9 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.5699, allocations: 0 / 454.9 MB, free: 7.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003504/0.5703, allocations: 32.41 kB / 455 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.5706, allocations: 35.67 kB / 455 MB, free: 7.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.5724, allocations: 1.358 MB / 456.4 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003825/0.5728, allocations: 51.27 kB / 456.4 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.5728, allocations: 7.688 kB / 456.4 MB, free: 6.402 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001688/0.573, allocations: 116.7 kB / 456.5 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.18e-05/0.5731, allocations: 11.91 kB / 456.5 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/0.5732, allocations: 24.09 kB / 456.6 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.5732, allocations: 0 / 456.6 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.5732, allocations: 7.984 kB / 456.6 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5732, allocations: 0 / 456.6 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009681/0.5742, allocations: 0.4973 MB / 457.1 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5742, allocations: 0 / 457.1 MB, free: 5.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.5745, allocations: 27.94 kB / 457.1 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001896/0.5747, allocations: 31.16 kB / 457.1 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.5748, allocations: 3.75 kB / 457.1 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.5763, allocations: 1.355 MB / 458.5 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.5764, allocations: 0 / 458.5 MB, free: 4.297 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007628/0.5772, allocations: 326 kB / 458.8 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.5773, allocations: 104.2 kB / 458.9 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.5774, allocations: 7.125 kB / 458.9 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.5778, allocations: 31.23 kB / 458.9 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.971e-05/0.5779, allocations: 15.97 kB / 459 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.087e-05/0.5779, allocations: 7.391 kB / 459 MB, free: 3.852 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001592/0.5781, allocations: 125.5 kB / 459.1 MB, free: 3.742 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5781, allocations: 0 / 459.1 MB, free: 3.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004563/0.5786, allocations: 62.34 kB / 459.1 MB, free: 3.688 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (heatCapacitor.T) * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.5797, allocations: 0.8513 MB / 460 MB, free: 2.867 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006128/0.5803, allocations: 236.5 kB / 460.2 MB, free: 2.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.5804, allocations: 0 / 460.2 MB, free: 2.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.5807, allocations: 177.4 kB / 460.4 MB, free: 2.496 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.5811, allocations: 29.06 kB / 460.4 MB, free: 2.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.5823, allocations: 377.8 kB / 460.8 MB, free: 2.102 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.5828, allocations: 0.7402 MB / 461.5 MB, free: 1.332 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.583, allocations: 61.47 kB / 461.6 MB, free: 1.312 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.583, allocations: 3.938 kB / 461.6 MB, free: 1.309 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.673/3.256, allocations: 3.985 MB / 465.6 MB, free: 13.36 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat