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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001592/0.001592, allocations: 119.2 kB / 18.5 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.463/1.463, allocations: 230.5 MB / 254.8 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "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.001985/0.001985, allocations: 71.83 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1083, allocations: 53.32 MB / 427 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004451/0.1127, allocations: 2.53 MB / 429.5 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1141, allocations: 0.6817 MB / 430.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1142, allocations: 4 kB / 430.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.1144, allocations: 39.58 kB / 430.2 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1146, allocations: 63.41 kB / 430.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.1149, allocations: 75.78 kB / 430.4 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.1152, allocations: 262.8 kB / 430.6 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001915/0.1154, allocations: 79.42 kB / 430.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.1155, allocations: 87.72 kB / 430.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.1157, allocations: 115.5 kB / 430.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.1157, allocations: 20 kB / 430.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.169e-05/0.1158, allocations: 27.94 kB / 431 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.025e-05/0.1159, allocations: 47.78 kB / 431 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.116, allocations: 119.5 kB / 431.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003809/0.1164, allocations: 270.8 kB / 431.4 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1164, allocations: 0 / 431.4 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1164, allocations: 0 / 431.4 MB, free: 384 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.1164, allocations: 0 / 431.4 MB, free: 384 kB / 350.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.1835/0.3, allocations: 0.5378 MB / 431.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.3, allocations: 12.19 kB / 431.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.902e-05/0.3001, allocations: 56.5 kB / 432 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.3002, allocations: 31.45 kB / 432 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.3005, allocations: 234.5 kB / 432.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.3005, allocations: 14.03 kB / 432.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.563e-05/0.3006, allocations: 24.41 kB / 432.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.301, allocations: 227.8 kB / 432.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.3011, allocations: 8.391 kB / 432.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.3011, allocations: 11.44 kB / 432.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3011, allocations: 4.656 kB / 432.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000395/0.3015, allocations: 160.6 kB / 432.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.3026, allocations: 0.8201 MB / 433.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.303, allocations: 159.5 kB / 433.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.3031, allocations: 70.44 kB / 433.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.3032, allocations: 2.562 kB / 433.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.3032, allocations: 35.62 kB / 433.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.3032, allocations: 0.7188 kB / 433.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008044/0.304, allocations: 340.7 kB / 434.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.099e-05/0.304, allocations: 53.28 kB / 434.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.3041, allocations: 181.8 kB / 434.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.3041, allocations: 30.86 kB / 434.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.3042, allocations: 145.9 kB / 434.5 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.3042, allocations: 58.88 kB / 434.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.3043, allocations: 36.5 kB / 434.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.835e-05/0.3043, allocations: 331 kB / 434.9 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3045, allocations: 58.38 kB / 435 MB, free: 9.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.3046, allocations: 91.23 kB / 435.1 MB, free: 9.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.3049, allocations: 140.5 kB / 435.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3049, allocations: 3.062 kB / 435.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004314/0.3053, allocations: 229.7 kB / 435.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3053, allocations: 5.594 kB / 435.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.3053, allocations: 1.219 kB / 435.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.3055, allocations: 33.72 kB / 435.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.3057, allocations: 38.45 kB / 435.5 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008404/0.3065, allocations: 1.466 MB / 437 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.3067, allocations: 42.02 kB / 437 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.3067, allocations: 5.406 kB / 437 MB, free: 8.008 MB / 350.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 8.992e-05/0.3068, allocations: 131.2 kB / 437.2 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.3068, allocations: 19.56 kB / 437.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.3069, allocations: 22.19 kB / 437.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3069, allocations: 1.031 kB / 437.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.3069, allocations: 4.953 kB / 437.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3069, allocations: 5.094 kB / 437.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006502/0.3075, allocations: 0.5149 MB / 437.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3075, allocations: 0 / 437.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.3077, allocations: 27.83 kB / 437.7 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001072/0.3078, allocations: 33.33 kB / 437.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/0.3078, allocations: 2.781 kB / 437.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007416/0.3085, allocations: 1.465 MB / 439.2 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3085, allocations: 3.938 kB / 439.3 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005543/0.3091, allocations: 353.6 kB / 439.6 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.3091, allocations: 112.1 kB / 439.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/0.3092, allocations: 5.656 kB / 439.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.3093, allocations: 19.62 kB / 439.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.3094, allocations: 17.92 kB / 439.7 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3094, allocations: 6.438 kB / 439.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.689e-05/0.3095, allocations: 132.7 kB / 439.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3095, allocations: 0 / 439.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003222/0.3098, allocations: 58.89 kB / 439.9 MB, free: 5.551 MB / 350.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.0007143/0.3105, allocations: 0.886 MB / 440.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004854/0.311, allocations: 254.2 kB / 441.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.311, allocations: 2.953 kB / 441.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000236/0.3113, allocations: 190 kB / 441.3 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.3116, allocations: 29.09 kB / 441.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.314, allocations: 2.228 MB / 443.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.3142, allocations: 0.7352 MB / 444.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.783e-05/0.3142, allocations: 17.88 kB / 444.3 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.3143, allocations: 57.36 kB / 444.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3143, allocations: 0 / 444.3 MB, free: 2.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03547/0.3498, allocations: 4.576 MB / 448.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.52, allocations: 18.86 kB / 448.9 MB, free: 1.523 MB / 350.1 MB " [Timeout remaining time 649] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.047056226991117] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'onOffController.y'] 10.607406969182193 10.62997726 10.509463877 Calling exit ...