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.001258/0.001258, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.001331/0.001331, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.421/1.421, allocations: 230.5 MB / 254.7 MB, free: 15.21 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.001937/0.001937, allocations: 72.06 kB / 373.6 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.107, allocations: 53.31 MB / 426.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00386/0.1109, allocations: 2.526 MB / 429.4 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1121, allocations: 0.6817 MB / 430.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1122, allocations: 4 kB / 430.1 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.1123, allocations: 39.64 kB / 430.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.1125, allocations: 63.36 kB / 430.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.1128, allocations: 71.84 kB / 430.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.1131, allocations: 262.8 kB / 430.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001935/0.1133, allocations: 79.36 kB / 430.6 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.1134, allocations: 99.64 kB / 430.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.1136, allocations: 103.5 kB / 430.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.72e-05/0.1136, allocations: 20 kB / 430.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.429e-05/0.1137, allocations: 28 kB / 430.8 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.1138, allocations: 47.84 kB / 430.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.1139, allocations: 131.3 kB / 431 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.1142, allocations: 250.9 kB / 431.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1142, allocations: 8 kB / 431.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1142, allocations: 0 / 431.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.1143, allocations: 3.938 kB / 431.3 MB, free: 500 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.001035/0.1153, allocations: 0.5418 MB / 431.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.1153, allocations: 8.031 kB / 431.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.1154, allocations: 63.16 kB / 431.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.1156, allocations: 32.75 kB / 431.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.1159, allocations: 232.4 kB / 432.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/0.116, allocations: 16.81 kB / 432.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.116, allocations: 20.38 kB / 432.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/0.1165, allocations: 234 kB / 432.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.1165, allocations: 0 / 432.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.1165, allocations: 8 kB / 432.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.1165, allocations: 4 kB / 432.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003996/0.1169, allocations: 165.6 kB / 432.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.1183, allocations: 0.8207 MB / 433.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.1186, allocations: 150.5 kB / 433.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/0.1188, allocations: 76.81 kB / 433.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.1188, allocations: 4 kB / 433.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.1189, allocations: 42.5 kB / 433.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.1189, allocations: 0 / 433.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008586/0.1197, allocations: 333.8 kB / 434 MB, free: 13.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.1198, allocations: 55.41 kB / 434 MB, free: 13.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.12, allocations: 182.6 kB / 434.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.12, allocations: 29.7 kB / 434.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1201, allocations: 144.3 kB / 434.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/0.1201, allocations: 55.48 kB / 434.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-05/0.1202, allocations: 41.7 kB / 434.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.1204, allocations: 334.7 kB / 434.8 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1205, allocations: 51.97 kB / 434.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.1207, allocations: 92.19 kB / 435 MB, free: 12.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002974/0.121, allocations: 142.7 kB / 435.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.121, allocations: 4 kB / 435.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004653/0.1215, allocations: 218.1 kB / 435.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1215, allocations: 4 kB / 435.3 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1215, allocations: 8.062 kB / 435.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/0.1217, allocations: 40.83 kB / 435.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.1218, allocations: 35.91 kB / 435.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.1232, allocations: 1.465 MB / 436.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.1234, allocations: 35.81 kB / 436.9 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.1234, allocations: 4 kB / 436.9 MB, free: 10.39 MB / 366.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.0001414/0.1235, allocations: 133.8 kB / 437 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.1236, allocations: 15.91 kB / 437 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.1236, allocations: 25.86 kB / 437.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.1236, allocations: 4 kB / 437.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1236, allocations: 3.938 kB / 437.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1236, allocations: 0 / 437.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007912/0.1244, allocations: 0.5148 MB / 437.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1244, allocations: 4 kB / 437.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.1246, allocations: 31.92 kB / 437.6 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/0.1247, allocations: 28.84 kB / 437.7 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.1247, allocations: 4.141 kB / 437.7 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.1259, allocations: 1.469 MB / 439.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1259, allocations: 0 / 439.1 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006467/0.1266, allocations: 356.1 kB / 439.5 MB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.1267, allocations: 108.9 kB / 439.6 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.1267, allocations: 4 kB / 439.6 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.1269, allocations: 19.97 kB / 439.6 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.977e-05/0.1269, allocations: 15.98 kB / 439.6 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.127, allocations: 8.062 kB / 439.6 MB, free: 7.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1271, allocations: 128.3 kB / 439.8 MB, free: 7.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1271, allocations: 0 / 439.8 MB, free: 7.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003329/0.1274, allocations: 59.89 kB / 439.8 MB, free: 7.227 MB / 366.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.0009841/0.1284, allocations: 0.8944 MB / 440.7 MB, free: 6.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006283/0.129, allocations: 250.5 kB / 441 MB, free: 6.051 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.129, allocations: 0 / 441 MB, free: 6.051 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.1293, allocations: 190.9 kB / 441.1 MB, free: 5.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.1297, allocations: 40.41 kB / 441.2 MB, free: 5.812 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.1329, allocations: 2.22 MB / 443.4 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.1334, allocations: 0.7398 MB / 444.1 MB, free: 2.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.406e-05/0.1335, allocations: 13.55 kB / 444.2 MB, free: 2.699 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.978e-05/0.1336, allocations: 55.42 kB / 444.2 MB, free: 2.645 MB / 366.1 MB Notification: Performance of SimCode: time 1.263e-06/0.1336, allocations: 0 / 444.2 MB, free: 2.645 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2339/0.3675, allocations: 4.575 MB / 448.8 MB, free: 24.65 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.8/10.17, allocations: 8.641 kB / 448.8 MB, free: 24.65 MB / 366.1 MB " [Timeout remaining time 650] (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 --stepSize=0.001 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.42973882611841] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'onOffController.y'] 10.250734494067729 10.264822815 10.147843935 Calling exit ...