Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.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.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",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.001355/0.001355, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 221.3 MB / 235.5 MB, free: 2.91 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.001176/0.001176, allocations: 94.2 kB / 286.5 MB, free: 184 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.066e-05, allocations: 4 kB / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1139, allocations: 50.42 MB / 394.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3288/0.4427, allocations: 79.39 MB / 473.7 MB, free: 8.074 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.443, allocations: 63.97 kB / 473.8 MB, free: 8.012 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01076/0.4537, allocations: 3.933 MB / 477.7 MB, free: 4.074 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4538, allocations: 0 / 477.7 MB, free: 4.074 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4538, allocations: 4 kB / 477.7 MB, free: 4.07 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007421/0.4546, allocations: 0.497 MB / 478.2 MB, free: 3.531 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4546, allocations: 8.031 kB / 478.2 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/0.4547, allocations: 58.97 kB / 478.3 MB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.4548, allocations: 27.72 kB / 478.3 MB, free: 3.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.4551, allocations: 219.5 kB / 478.5 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.4552, allocations: 16.44 kB / 478.6 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.4552, allocations: 20 kB / 478.6 MB, free: 3.141 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003715/0.4556, allocations: 217.9 kB / 478.8 MB, free: 2.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.4556, allocations: 3.953 kB / 478.8 MB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.4556, allocations: 4 kB / 478.8 MB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.4557, allocations: 8 kB / 478.8 MB, free: 2.902 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.4559, allocations: 129.7 kB / 478.9 MB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.4572, allocations: 0.8321 MB / 479.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.4575, allocations: 146.6 kB / 479.9 MB, free: 1.719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.4577, allocations: 72.84 kB / 480 MB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.4577, allocations: 3.938 kB / 480 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.4577, allocations: 42.5 kB / 480 MB, free: 1.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.934e-06/0.4577, allocations: 0 / 480 MB, free: 1.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003963/0.4581, allocations: 150.3 kB / 480.2 MB, free: 1.434 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.4582, allocations: 51.41 kB / 480.2 MB, free: 1.371 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.4583, allocations: 166.1 kB / 480.4 MB, free: 1.195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.4584, allocations: 29.7 kB / 480.4 MB, free: 1.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.4585, allocations: 144.1 kB / 480.5 MB, free: 1.016 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.541e-05/0.4585, allocations: 59.19 kB / 480.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.4585, allocations: 0 / 480.6 MB, free: 0.957 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4587, allocations: 326.8 kB / 480.9 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.4588, allocations: 40.38 kB / 481 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.286e-05/0.4589, allocations: 64.19 kB / 481 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001068/0.459, allocations: 49.55 kB / 481.1 MB, free: 480 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.459, allocations: 0 / 481.1 MB, free: 480 kB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000306/0.4593, allocations: 191.4 kB / 481.3 MB, free: 280 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.4593, allocations: 8 kB / 481.3 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4593, allocations: 3.984 kB / 481.3 MB, free: 268 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001892/0.4595, allocations: 36.94 kB / 481.3 MB, free: 228 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.4597, allocations: 35.92 kB / 481.3 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001227/0.4609, allocations: 1.359 MB / 482.7 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.4611, allocations: 39.75 kB / 482.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.4612, allocations: 8 kB / 482.8 MB, free: 14.64 MB / 362.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 9.445e-05/0.4613, allocations: 120.9 kB / 482.9 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.4613, allocations: 15.81 kB / 482.9 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.4614, allocations: 21.66 kB / 482.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.4614, allocations: 0 / 482.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.4614, allocations: 0 / 482.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.4614, allocations: 3.984 kB / 482.9 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006498/0.462, allocations: 0.493 MB / 483.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4621, allocations: 4 kB / 483.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.4622, allocations: 23.98 kB / 483.4 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001088/0.4623, allocations: 36.78 kB / 483.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.4624, allocations: 0 / 483.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.4635, allocations: 1.366 MB / 484.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4635, allocations: 3.938 kB / 484.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.464, allocations: 311.1 kB / 485.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.4641, allocations: 108.9 kB / 485.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.4641, allocations: 15.98 kB / 485.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.4643, allocations: 19.98 kB / 485.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/0.4644, allocations: 23.91 kB / 485.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.4644, allocations: 4 kB / 485.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.4646, allocations: 128.3 kB / 485.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4646, allocations: 0 / 485.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003098/0.4649, allocations: 63.83 kB / 485.5 MB, free: 11.66 MB / 362.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.0008018/0.4657, allocations: 0.8458 MB / 486.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004324/0.4661, allocations: 231.9 kB / 486.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4662, allocations: 0 / 486.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.4664, allocations: 182.5 kB / 486.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.4667, allocations: 28.11 kB / 486.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008183/0.4675, allocations: 345.2 kB / 487.1 MB, free: 9.957 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.4679, allocations: 0.7402 MB / 487.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.138e-05/0.468, allocations: 17.27 kB / 487.9 MB, free: 9.168 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.4681, allocations: 59.41 kB / 487.9 MB, free: 9.113 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4681, allocations: 0 / 487.9 MB, free: 9.113 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01785/0.4859, allocations: 3.952 MB / 491.9 MB, free: 5.328 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/0.4863, allocations: 193.1 kB / 492.1 MB, free: 5.094 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.24, allocations: 0 / 492.1 MB, free: 5.094 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat