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.001291/0.001291, allocations: 113.2 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001363/0.001363, allocations: 204.6 kB / 18.74 MB, free: 4.324 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.423/1.423, allocations: 227.7 MB / 247.2 MB, free: 10.22 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.002272/0.002272, allocations: 67.88 kB / 358.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3115, allocations: 50.54 MB / 409.1 MB, free: 1.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.003872/0.3154, allocations: 2.522 MB / 411.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.3167, allocations: 0.6661 MB / 412.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.3169, allocations: 4 kB / 412.2 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.317, allocations: 39.64 kB / 412.3 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.3172, allocations: 71.33 kB / 412.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.3174, allocations: 67.84 kB / 412.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003622/0.3178, allocations: 258.8 kB / 412.7 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.318, allocations: 103.4 kB / 412.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.3182, allocations: 99.64 kB / 412.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.3184, allocations: 115.5 kB / 413 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.3184, allocations: 20 kB / 413 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.639e-05/0.3185, allocations: 31.92 kB / 413 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.3185, allocations: 43.84 kB / 413.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.3187, allocations: 119.5 kB / 413.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003327/0.319, allocations: 262 kB / 413.4 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.319, allocations: 0 / 413.4 MB, free: 13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.319, allocations: 0 / 413.4 MB, free: 13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.3191, allocations: 0 / 413.4 MB, free: 13 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.0009695/0.32, allocations: 0.5495 MB / 414 MB, free: 12.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3201, allocations: 16.03 kB / 414 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.725e-05/0.3202, allocations: 55.17 kB / 414.1 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.3203, allocations: 28.75 kB / 414.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.3206, allocations: 232.4 kB / 414.3 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.3207, allocations: 16.81 kB / 414.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.387e-05/0.3207, allocations: 20.38 kB / 414.4 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.3212, allocations: 241.9 kB / 414.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3212, allocations: 4 kB / 414.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.3212, allocations: 4 kB / 414.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3212, allocations: 8 kB / 414.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.3217, allocations: 153.7 kB / 414.8 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.323, allocations: 0.8168 MB / 415.6 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004137/0.3234, allocations: 170.5 kB / 415.7 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/0.3236, allocations: 76.83 kB / 415.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.3236, allocations: 4 kB / 415.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.3237, allocations: 34.5 kB / 415.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.3237, allocations: 0 / 415.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009046/0.3246, allocations: 343.3 kB / 416.2 MB, free: 10.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.3246, allocations: 51.41 kB / 416.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3248, allocations: 178.7 kB / 416.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.3249, allocations: 25.7 kB / 416.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.325, allocations: 160.3 kB / 416.6 MB, free: 9.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.874e-05/0.325, allocations: 63.47 kB / 416.7 MB, free: 9.535 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.3251, allocations: 33.72 kB / 416.7 MB, free: 9.496 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3253, allocations: 330.8 kB / 417 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.3254, allocations: 51.97 kB / 417.1 MB, free: 9.113 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001983/0.3256, allocations: 97.56 kB / 417.2 MB, free: 9.004 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003164/0.326, allocations: 143.3 kB / 417.3 MB, free: 8.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.326, allocations: 7.938 kB / 417.3 MB, free: 8.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004719/0.3265, allocations: 222 kB / 417.5 MB, free: 8.617 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3265, allocations: 8 kB / 417.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3265, allocations: 0 / 417.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/0.3267, allocations: 36.83 kB / 417.6 MB, free: 8.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.3268, allocations: 31.98 kB / 417.6 MB, free: 8.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.3282, allocations: 1.469 MB / 419.1 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.3284, allocations: 35.92 kB / 419.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.3284, allocations: 8 kB / 419.1 MB, free: 6.879 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.0001459/0.3286, allocations: 133.8 kB / 419.2 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.3286, allocations: 16.05 kB / 419.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.3287, allocations: 25.86 kB / 419.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3287, allocations: 0 / 419.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.3287, allocations: 11.94 kB / 419.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.3287, allocations: 0 / 419.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007934/0.3295, allocations: 0.5216 MB / 419.8 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.3295, allocations: 4 kB / 419.8 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001618/0.3297, allocations: 23.98 kB / 419.8 MB, free: 6.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000124/0.3298, allocations: 32.83 kB / 419.9 MB, free: 6.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.3298, allocations: 7.938 kB / 419.9 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.3311, allocations: 1.461 MB / 421.3 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3311, allocations: 3.984 kB / 421.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006481/0.3317, allocations: 348.1 kB / 421.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/0.3318, allocations: 104.9 kB / 421.8 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.3319, allocations: 8.125 kB / 421.8 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.3321, allocations: 23.97 kB / 421.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/0.3322, allocations: 19.97 kB / 421.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.3322, allocations: 3.938 kB / 421.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.3323, allocations: 132.2 kB / 422 MB, free: 3.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3323, allocations: 0 / 422 MB, free: 3.766 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.3326, allocations: 59.89 kB / 422 MB, free: 3.707 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.000994/0.3336, allocations: 0.8889 MB / 422.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005813/0.3342, allocations: 258.6 kB / 423.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3343, allocations: 0 / 423.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.3346, allocations: 201.9 kB / 423.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.3349, allocations: 39.08 kB / 423.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.338, allocations: 2.224 MB / 425.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.3384, allocations: 0.7359 MB / 426.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.33e-05/0.3385, allocations: 9.547 kB / 426.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.91e-05/0.3386, allocations: 63.41 kB / 426.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3386, allocations: 0 / 426.4 MB, free: 15.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/0.3695, allocations: 4.536 MB / 431 MB, free: 10.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.929/10.3, allocations: 7.734 kB / 431 MB, free: 10.77 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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)