Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001377/0.001376, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001416, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.441/1.441, allocations: 227.7 MB / 247.2 MB, free: 10.27 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001994, allocations: 63.91 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2826, allocations: 50.53 MB / 409 MB, free: 1.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.005499/0.2882, allocations: 2.516 MB / 411.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.2899, allocations: 0.6739 MB / 412.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.2901, allocations: 4 kB / 412.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.2903, allocations: 35.64 kB / 412.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002075/0.2905, allocations: 67.34 kB / 412.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003595/0.2909, allocations: 71.83 kB / 412.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004338/0.2914, allocations: 254.8 kB / 412.6 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.2917, allocations: 111.4 kB / 412.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.2919, allocations: 95.64 kB / 412.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.2921, allocations: 111.5 kB / 412.9 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.2922, allocations: 24 kB / 413 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.2923, allocations: 24 kB / 413 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.2924, allocations: 51.83 kB / 413 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.2926, allocations: 119.4 kB / 413.2 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004836/0.2931, allocations: 258 kB / 413.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2931, allocations: 4 kB / 413.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.2931, allocations: 0 / 413.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.2931, allocations: 0 / 413.4 MB, free: 12.98 MB / 334.1 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.001374/0.2945, allocations: 0.5456 MB / 414 MB, free: 12.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.2946, allocations: 12.03 kB / 414 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.2947, allocations: 55.17 kB / 414 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.2949, allocations: 32.75 kB / 414.1 MB, free: 12.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005047/0.2954, allocations: 236.4 kB / 414.3 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.2954, allocations: 16.81 kB / 414.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.861e-05/0.2955, allocations: 32.25 kB / 414.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006517/0.2962, allocations: 230 kB / 414.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.2962, allocations: 0 / 414.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.2963, allocations: 11.98 kB / 414.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.2963, allocations: 8 kB / 414.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005831/0.2969, allocations: 157.7 kB / 414.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.2988, allocations: 0.8168 MB / 415.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005698/0.2994, allocations: 162.5 kB / 415.7 MB, free: 10.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.2997, allocations: 84.05 kB / 415.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.2997, allocations: 8 kB / 415.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.2997, allocations: 34.5 kB / 415.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.2998, allocations: 0 / 415.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001273/0.301, allocations: 339.3 kB / 416.2 MB, free: 10.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.3011, allocations: 55.41 kB / 416.2 MB, free: 9.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.3014, allocations: 174.7 kB / 416.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.3014, allocations: 33.64 kB / 416.4 MB, free: 9.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.3016, allocations: 148.4 kB / 416.6 MB, free: 9.57 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.3017, allocations: 63.47 kB / 416.6 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.895e-05/0.3018, allocations: 33.72 kB / 416.7 MB, free: 9.469 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.302, allocations: 338.8 kB / 417 MB, free: 9.129 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.3022, allocations: 51.97 kB / 417 MB, free: 9.078 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.3025, allocations: 85.75 kB / 417.1 MB, free: 8.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004767/0.303, allocations: 152.1 kB / 417.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.303, allocations: 0 / 417.3 MB, free: 8.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006989/0.3037, allocations: 225.2 kB / 417.5 MB, free: 8.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.3037, allocations: 8 kB / 417.5 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3037, allocations: 0 / 417.5 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002532/0.304, allocations: 32.83 kB / 417.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.3042, allocations: 31.98 kB / 417.6 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/0.3061, allocations: 1.469 MB / 419 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.3064, allocations: 31.86 kB / 419.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3064, allocations: 8.062 kB / 419.1 MB, free: 6.859 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (onOffController.y,$PRE.onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001981/0.3066, allocations: 141.8 kB / 419.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.807e-05/0.3067, allocations: 15.91 kB / 419.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.3068, allocations: 21.86 kB / 419.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3068, allocations: 0 / 419.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.3068, allocations: 7.875 kB / 419.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3068, allocations: 0 / 419.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.308, allocations: 0.5264 MB / 419.8 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.308, allocations: 0 / 419.8 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.3082, allocations: 23.98 kB / 419.8 MB, free: 6.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001658/0.3084, allocations: 40.77 kB / 419.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.3085, allocations: 4 kB / 419.9 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.3102, allocations: 1.453 MB / 421.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3102, allocations: 4.078 kB / 421.3 MB, free: 4.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009361/0.3112, allocations: 359.6 kB / 421.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.3113, allocations: 108.9 kB / 421.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.3114, allocations: 4 kB / 421.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000309/0.3117, allocations: 28.03 kB / 421.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/0.3118, allocations: 19.91 kB / 421.8 MB, free: 3.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.3118, allocations: 7.938 kB / 421.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001636/0.312, allocations: 124.3 kB / 422 MB, free: 3.738 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.312, allocations: 0 / 422 MB, free: 3.738 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005732/0.3126, allocations: 63.89 kB / 422 MB, free: 3.676 MB / 334.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001375/0.314, allocations: 0.8849 MB / 422.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007852/0.3148, allocations: 254.8 kB / 423.1 MB, free: 2.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3148, allocations: 4 kB / 423.2 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004101/0.3152, allocations: 198.5 kB / 423.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.3157, allocations: 31.88 kB / 423.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.3188, allocations: 2.227 MB / 425.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.3192, allocations: 0.732 MB / 426.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.202e-05/0.3193, allocations: 21.48 kB / 426.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.416e-05/0.3194, allocations: 55.41 kB / 426.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of SimCode: time 4.3e-07/0.3194, allocations: 0 / 426.4 MB, free: 15.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0325/0.3519, allocations: 4.546 MB / 431 MB, free: 10.74 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.836/10.19, allocations: 11.83 kB / 431 MB, free: 10.73 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_ControlledTemperature.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.pipe 2>&1)