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.001153/0.001153, allocations: 177.1 kB / 8.35 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.308/1.308, allocations: 221.5 MB / 230.3 MB, free: 7.531 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.0008814/0.0008814, allocations: 84.81 kB / 281.2 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.807e-05/1.811e-05, allocations: 0 / 337.1 MB, free: 9.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 50.43 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.372/0.4863, allocations: 78.72 MB / 466.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001956/0.4866, allocations: 75.91 kB / 466.3 MB, free: 15.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01147/0.498, allocations: 3.892 MB / 470.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4981, allocations: 0 / 470.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.766e-05/0.4981, allocations: 4 kB / 470.2 MB, free: 12.01 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.0008493/0.499, allocations: 0.4952 MB / 470.7 MB, free: 11.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.4991, allocations: 11.97 kB / 470.8 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.4992, allocations: 23.72 kB / 470.8 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.4996, allocations: 225.4 kB / 471 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.4996, allocations: 4 kB / 471 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.4996, allocations: 16 kB / 471 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002703/0.4999, allocations: 116.9 kB / 471.1 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003636/0.5003, allocations: 184.9 kB / 471.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.5003, allocations: 3.984 kB / 471.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.5004, allocations: 0 / 471.3 MB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.5004, allocations: 8 kB / 471.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.5016, allocations: 0.7617 MB / 472.1 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.502, allocations: 134.6 kB / 472.2 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.818e-05/0.5021, allocations: 60.86 kB / 472.3 MB, free: 9.82 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.5021, allocations: 7.938 kB / 472.3 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.5021, allocations: 34.56 kB / 472.3 MB, free: 9.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.306e-06/0.5021, allocations: 0 / 472.3 MB, free: 9.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003916/0.5025, allocations: 150.4 kB / 472.5 MB, free: 9.613 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.5026, allocations: 51.41 kB / 472.5 MB, free: 9.551 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.5027, allocations: 137.4 kB / 472.6 MB, free: 9.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.5028, allocations: 29.7 kB / 472.7 MB, free: 9.375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.5029, allocations: 152.1 kB / 472.8 MB, free: 9.223 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.5029, allocations: 51.25 kB / 472.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-06/0.503, allocations: 0 / 472.9 MB, free: 9.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.5031, allocations: 322.8 kB / 473.2 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/0.5032, allocations: 36.38 kB / 473.2 MB, free: 8.812 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.594e-05/0.5033, allocations: 67.94 kB / 473.3 MB, free: 8.734 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.542e-05/0.5034, allocations: 41.08 kB / 473.3 MB, free: 8.695 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5034, allocations: 4 kB / 473.3 MB, free: 8.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002977/0.5037, allocations: 163.6 kB / 473.5 MB, free: 8.523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.5037, allocations: 4 kB / 473.5 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.5037, allocations: 0 / 473.5 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001861/0.5039, allocations: 48.84 kB / 473.5 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.5041, allocations: 27.98 kB / 473.6 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.5053, allocations: 1.319 MB / 474.9 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.5055, allocations: 27.83 kB / 474.9 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.5055, allocations: 8 kB / 474.9 MB, free: 6.969 MB / 346.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.0001005/0.5056, allocations: 117 kB / 475 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002721/0.5059, allocations: 143.1 kB / 475.2 MB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.506, allocations: 15.81 kB / 475.2 MB, free: 6.684 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/0.506, allocations: 20.73 kB / 475.2 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.506, allocations: 0 / 475.2 MB, free: 6.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.506, allocations: 4 kB / 475.2 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5061, allocations: 0 / 475.2 MB, free: 6.656 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006185/0.5067, allocations: 452.5 kB / 475.7 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5067, allocations: 0 / 475.7 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.5069, allocations: 31.98 kB / 475.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001085/0.507, allocations: 24.84 kB / 475.7 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.507, allocations: 7.891 kB / 475.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.5081, allocations: 1.319 MB / 477 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.5082, allocations: 0 / 477 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000453/0.5086, allocations: 301.9 kB / 477.3 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.735e-05/0.5087, allocations: 101.1 kB / 477.4 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.5088, allocations: 0 / 477.4 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.509, allocations: 27.91 kB / 477.5 MB, free: 4.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.509, allocations: 19.97 kB / 477.5 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.5091, allocations: 4 kB / 477.5 MB, free: 4.188 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.888e-05/0.5091, allocations: 111.3 kB / 477.6 MB, free: 4.078 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5091, allocations: 0 / 477.6 MB, free: 4.078 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003294/0.5095, allocations: 55.84 kB / 477.7 MB, free: 4.023 MB / 346.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.00076/0.5102, allocations: 0.8298 MB / 478.5 MB, free: 3.168 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004041/0.5107, allocations: 221.6 kB / 478.7 MB, free: 2.941 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5107, allocations: 0 / 478.7 MB, free: 2.941 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.5109, allocations: 165.7 kB / 478.9 MB, free: 2.77 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.5112, allocations: 12.19 kB / 478.9 MB, free: 2.758 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007564/0.5119, allocations: 335.2 kB / 479.2 MB, free: 2.391 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.5123, allocations: 0.7436 MB / 479.9 MB, free: 1.621 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.413e-05/0.5124, allocations: 9.203 kB / 480 MB, free: 1.613 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.692e-05/0.5125, allocations: 59.36 kB / 480 MB, free: 1.555 MB / 346.7 MB Notification: Performance of SimCode: time 7.42e-07/0.5125, allocations: 3.938 kB / 480 MB, free: 1.551 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.537, allocations: 3.204 MB / 483.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/0.5373, allocations: 157.6 kB / 483.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.201, allocations: 0 / 483.4 MB, free: 14.18 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