Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001085/0.001085, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 227.2 MB / 245 MB, free: 7.633 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009333/0.0009331, allocations: 100.9 kB / 297.3 MB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002509/0.0002509, allocations: 8 kB / 358 MB, free: 9.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1984, allocations: 51.49 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0887/0.2871, allocations: 80.27 MB / 489.8 MB, free: 10.35 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.2874, allocations: 67.97 kB / 489.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01017/0.2976, allocations: 3.989 MB / 493.8 MB, free: 6.281 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2976, allocations: 4 kB / 493.8 MB, free: 6.277 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.2976, allocations: 8 kB / 493.8 MB, free: 6.27 MB / 362.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.0007075/0.2983, allocations: 0.5145 MB / 494.3 MB, free: 5.707 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2984, allocations: 8.031 kB / 494.4 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.044e-05/0.2985, allocations: 58.97 kB / 494.4 MB, free: 5.633 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.738e-05/0.2986, allocations: 27.72 kB / 494.4 MB, free: 5.605 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.2988, allocations: 219.5 kB / 494.7 MB, free: 5.352 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.2988, allocations: 16.44 kB / 494.7 MB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.2988, allocations: 27.98 kB / 494.7 MB, free: 5.309 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.2992, allocations: 233.8 kB / 494.9 MB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2993, allocations: 0 / 494.9 MB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.2993, allocations: 12 kB / 494.9 MB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.2993, allocations: 4 kB / 494.9 MB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.2997, allocations: 169.6 kB / 495.1 MB, free: 4.883 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001145/0.3008, allocations: 0.8243 MB / 495.9 MB, free: 3.988 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004645/0.3013, allocations: 170.6 kB / 496.1 MB, free: 3.812 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.3013, allocations: 4 kB / 496.1 MB, free: 3.809 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3014, allocations: 38.52 kB / 496.1 MB, free: 3.762 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.613e-06/0.3014, allocations: 4 kB / 496.1 MB, free: 3.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008365/0.3022, allocations: 353.2 kB / 496.5 MB, free: 3.387 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.3023, allocations: 55.41 kB / 496.5 MB, free: 3.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.3024, allocations: 158.4 kB / 496.7 MB, free: 3.156 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.3025, allocations: 25.7 kB / 496.7 MB, free: 3.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.352e-05/0.3025, allocations: 148.1 kB / 496.9 MB, free: 2.977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.3026, allocations: 51.27 kB / 496.9 MB, free: 2.926 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.863e-06/0.3026, allocations: 4 kB / 496.9 MB, free: 2.922 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3027, allocations: 326.8 kB / 497.2 MB, free: 2.594 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3029, allocations: 60.33 kB / 497.3 MB, free: 2.535 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.3031, allocations: 87.34 kB / 497.4 MB, free: 2.441 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.3032, allocations: 59.97 kB / 497.4 MB, free: 2.383 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3032, allocations: 11.89 kB / 497.5 MB, free: 2.371 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004309/0.3037, allocations: 226.1 kB / 497.7 MB, free: 2.141 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.3037, allocations: 6.5 kB / 497.7 MB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.3037, allocations: 0 / 497.7 MB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002101/0.3039, allocations: 36.83 kB / 497.7 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3041, allocations: 40.02 kB / 497.8 MB, free: 2.059 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.3052, allocations: 1.37 MB / 499.1 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.3054, allocations: 43.75 kB / 499.2 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.3055, allocations: 4 kB / 499.2 MB, free: 0.5078 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 () * 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.0001323/0.3056, allocations: 130.9 kB / 499.3 MB, free: 380 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.3056, allocations: 19.84 kB / 499.3 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/0.3057, allocations: 25.86 kB / 499.3 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3057, allocations: 0 / 499.3 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3057, allocations: 0 / 499.3 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3057, allocations: 0 / 499.3 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006896/0.3064, allocations: 0.5303 MB / 499.9 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3064, allocations: 4 kB / 499.9 MB, free: 15.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001431/0.3066, allocations: 27.94 kB / 499.9 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/0.3067, allocations: 37.11 kB / 499.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.3067, allocations: 3.984 kB / 499.9 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00099/0.3077, allocations: 1.374 MB / 0.4896 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3077, allocations: 0 / 0.4896 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.3083, allocations: 375.4 kB / 0.4899 GB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.887e-05/0.3084, allocations: 104.9 kB / 0.49 GB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3085, allocations: 4.062 kB / 0.49 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.3087, allocations: 31.97 kB / 0.4901 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.3087, allocations: 15.97 kB / 0.4901 GB, free: 13.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.3087, allocations: 4 kB / 0.4901 GB, free: 13.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.788e-05/0.3088, allocations: 131.2 kB / 0.4902 GB, free: 13.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3088, allocations: 4 kB / 0.4902 GB, free: 13.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002919/0.3091, allocations: 59.84 kB / 0.4903 GB, free: 13.4 MB / 378.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.0008495/0.31, allocations: 0.9053 MB / 0.4912 GB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004692/0.3105, allocations: 262.8 kB / 0.4914 GB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3105, allocations: 3.938 kB / 0.4914 GB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002589/0.3108, allocations: 210.4 kB / 0.4916 GB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.311, allocations: 33.17 kB / 0.4916 GB, free: 11.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.3129, allocations: 1.682 MB / 0.4933 GB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.3131, allocations: 0.7401 MB / 0.494 GB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.564e-05/0.3132, allocations: 13.55 kB / 0.494 GB, free: 9.426 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.652e-05/0.3133, allocations: 59.41 kB / 0.4941 GB, free: 9.367 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3133, allocations: 0 / 0.4941 GB, free: 9.367 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0152/0.3285, allocations: 3.972 MB / 0.498 GB, free: 5.594 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/0.3288, allocations: 219.3 kB / 0.4982 GB, free: 5.352 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/1.918, allocations: 4 kB / 0.4982 GB, free: 5.348 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat does not exist to compare? outputFormat=mat