Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_3_2_3_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.001165/0.001165, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.418/1.418, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0008478/0.0008478, allocations: 90.97 kB / 271.5 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002396/0.0002397, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2348, allocations: 47.57 MB / 375.9 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09572/0.3305, allocations: 78.31 MB / 454.2 MB, free: 2.336 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.3308, allocations: 75.95 kB / 454.3 MB, free: 2.262 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01063/0.3414, allocations: 3.873 MB / 458.2 MB, free: 14.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3415, allocations: 3.938 kB / 458.2 MB, free: 14.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.3415, allocations: 4 kB / 458.2 MB, free: 14.36 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.0008337/0.3424, allocations: 0.5146 MB / 458.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3424, allocations: 8.031 kB / 458.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000102/0.3425, allocations: 58.97 kB / 458.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.3426, allocations: 23.72 kB / 458.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.3429, allocations: 229.1 kB / 459 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3429, allocations: 20.39 kB / 459 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.343, allocations: 20 kB / 459 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004577/0.3435, allocations: 237.8 kB / 459.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.3435, allocations: 0 / 459.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.395e-05/0.3435, allocations: 8 kB / 459.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3435, allocations: 8 kB / 459.3 MB, free: 13.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003758/0.3439, allocations: 165.6 kB / 459.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.3452, allocations: 0.8293 MB / 460.3 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.3456, allocations: 170.6 kB / 460.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.3456, allocations: 0 / 460.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.3456, allocations: 46.48 kB / 460.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 9.81e-07/0.3456, allocations: 0 / 460.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009158/0.3466, allocations: 355.5 kB / 460.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.3466, allocations: 55.41 kB / 460.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.3468, allocations: 157.8 kB / 461 MB, free: 11.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.3468, allocations: 25.7 kB / 461.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.3469, allocations: 148.1 kB / 461.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.347, allocations: 51.2 kB / 461.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/0.347, allocations: 4 kB / 461.3 MB, free: 11.01 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3471, allocations: 322.8 kB / 461.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3473, allocations: 68.33 kB / 461.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.3475, allocations: 88.22 kB / 461.7 MB, free: 10.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.3476, allocations: 63.97 kB / 461.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3477, allocations: 0 / 461.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004664/0.3481, allocations: 226 kB / 462 MB, free: 10.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3482, allocations: 8 kB / 462 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3482, allocations: 0 / 462 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/0.3484, allocations: 36.83 kB / 462.1 MB, free: 10.19 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.3485, allocations: 27.98 kB / 462.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00118/0.3497, allocations: 1.374 MB / 463.5 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001955/0.3499, allocations: 43.88 kB / 463.5 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.3499, allocations: 4 kB / 463.5 MB, free: 8.602 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 () * Number of clocked 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.0001286/0.3501, allocations: 129.8 kB / 463.6 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.765e-05/0.3501, allocations: 19.75 kB / 463.7 MB, free: 8.445 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.3502, allocations: 25.86 kB / 463.7 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.3502, allocations: 4.281 kB / 463.7 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.3502, allocations: 4 kB / 463.7 MB, free: 8.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3502, allocations: 3.984 kB / 463.7 MB, free: 8.406 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007429/0.3509, allocations: 0.5263 MB / 464.2 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.351, allocations: 0 / 464.2 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.3511, allocations: 31.98 kB / 464.2 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001188/0.3512, allocations: 40.72 kB / 464.3 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.3513, allocations: 4 kB / 464.3 MB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001082/0.3524, allocations: 1.363 MB / 465.7 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.3524, allocations: 3.938 kB / 465.7 MB, free: 6.246 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.353, allocations: 379 kB / 466 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.578e-05/0.3531, allocations: 104.9 kB / 466.1 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.3531, allocations: 4 kB / 466.1 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.3534, allocations: 32.03 kB / 466.2 MB, free: 5.703 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.3534, allocations: 23.91 kB / 466.2 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.3535, allocations: 4 kB / 466.2 MB, free: 5.676 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001053/0.3536, allocations: 128.3 kB / 466.3 MB, free: 5.551 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3536, allocations: 0 / 466.3 MB, free: 5.551 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003226/0.3539, allocations: 59.83 kB / 466.4 MB, free: 5.492 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) * Number of clocked states: 0 () * 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.0009522/0.3549, allocations: 0.8969 MB / 467.3 MB, free: 4.562 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005347/0.3554, allocations: 267.7 kB / 467.5 MB, free: 4.289 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3554, allocations: 4 kB / 467.5 MB, free: 4.285 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.3557, allocations: 194.6 kB / 467.7 MB, free: 4.082 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.356, allocations: 42.62 kB / 467.8 MB, free: 4.043 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.3581, allocations: 1.683 MB / 469.5 MB, free: 2.301 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.3585, allocations: 0.744 MB / 470.2 MB, free: 1.531 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.813e-05/0.3586, allocations: 17.55 kB / 470.2 MB, free: 1.516 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.547e-05/0.3587, allocations: 55.41 kB / 470.3 MB, free: 1.461 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3587, allocations: 4 kB / 470.3 MB, free: 1.457 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.3758, allocations: 3.976 MB / 474.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.376, allocations: 212.3 kB / 474.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.656/2.033, allocations: 0 / 474.5 MB, free: 13.27 MB / 362.7 MB (rm -f Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat