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.001646/0.001646, allocations: 109 kB / 21.23 MB, free: 0.6641 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.002029/0.002029, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.001949/0.001949, allocations: 63.91 kB / 378.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2667, allocations: 53.36 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.004139/0.2709, allocations: 2.556 MB / 434.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.2721, allocations: 0.6856 MB / 435.1 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001286/0.2723, allocations: 4 kB / 435.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001601/0.2724, allocations: 39.58 kB / 435.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.2726, allocations: 67.41 kB / 435.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000277/0.2728, allocations: 63.86 kB / 435.3 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003339/0.2732, allocations: 266.8 kB / 435.6 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.2734, allocations: 79.67 kB / 435.7 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.2735, allocations: 91.72 kB / 435.7 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000183/0.2737, allocations: 119.5 kB / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.2737, allocations: 23.94 kB / 435.9 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.711e-05/0.2738, allocations: 28 kB / 435.9 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.115e-05/0.2739, allocations: 51.84 kB / 436 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.274, allocations: 107.5 kB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.2743, allocations: 259.9 kB / 436.3 MB, free: 2.457 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.2744, allocations: 4 kB / 436.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2744, allocations: 0 / 436.3 MB, free: 2.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.2744, allocations: 0 / 436.3 MB, free: 2.453 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.0009245/0.2753, allocations: 481.6 kB / 436.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2753, allocations: 8.031 kB / 436.8 MB, free: 1.945 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.694e-05/0.2754, allocations: 59.17 kB / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.2755, allocations: 32.75 kB / 436.9 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003209/0.2758, allocations: 182.5 kB / 437.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.2759, allocations: 16.81 kB / 437.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.242e-05/0.2759, allocations: 20.38 kB / 437.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000463/0.2764, allocations: 230 kB / 437.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2764, allocations: 0 / 437.3 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.2764, allocations: 12 kB / 437.3 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.2764, allocations: 4 kB / 437.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.2768, allocations: 165.6 kB / 437.5 MB, free: 1.195 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001394/0.2782, allocations: 0.7858 MB / 438.3 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.2786, allocations: 150.6 kB / 438.4 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.2788, allocations: 72.83 kB / 438.5 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.2788, allocations: 4 kB / 438.5 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.2788, allocations: 42.48 kB / 438.6 MB, free: 68 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.2788, allocations: 0 / 438.6 MB, free: 68 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008315/0.2797, allocations: 262.3 kB / 438.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.2797, allocations: 55.41 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.2799, allocations: 172.1 kB / 439 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.2799, allocations: 33.64 kB / 439.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.28, allocations: 148.4 kB / 439.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.248e-05/0.2801, allocations: 63.39 kB / 439.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.698e-05/0.2802, allocations: 37.7 kB / 439.3 MB, free: 15.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2803, allocations: 334.8 kB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.2805, allocations: 51.97 kB / 439.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.2806, allocations: 84.25 kB / 439.8 MB, free: 14.78 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000301/0.2809, allocations: 150.8 kB / 439.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.281, allocations: 0 / 439.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004569/0.2814, allocations: 218.1 kB / 440.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2814, allocations: 8 kB / 440.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2814, allocations: 3.984 kB / 440.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/0.2816, allocations: 28.84 kB / 440.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.2818, allocations: 35.92 kB / 440.2 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.2831, allocations: 1.362 MB / 441.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.2832, allocations: 27.97 kB / 441.6 MB, free: 12.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.2832, allocations: 16 kB / 441.6 MB, free: 12.79 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 0.0001349/0.2834, allocations: 137.9 kB / 441.7 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.43e-05/0.2834, allocations: 23.8 kB / 441.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.668e-05/0.2835, allocations: 17.81 kB / 441.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2835, allocations: 0 / 441.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2835, allocations: 3.938 kB / 441.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2835, allocations: 7.984 kB / 441.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007542/0.2842, allocations: 496.7 kB / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2842, allocations: 0 / 442.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.2844, allocations: 27.98 kB / 442.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001105/0.2845, allocations: 36.83 kB / 442.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.2845, allocations: 7.938 kB / 442.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.2858, allocations: 1.369 MB / 443.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2858, allocations: 0 / 443.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007072/0.2866, allocations: 352.1 kB / 444.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.2866, allocations: 31.86 kB / 444.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.2866, allocations: 3.938 kB / 444.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.2868, allocations: 28.03 kB / 444.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.402e-05/0.2869, allocations: 16.11 kB / 444.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.2869, allocations: 7.984 kB / 444.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.287, allocations: 131.5 kB / 444.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.287, allocations: 0 / 444.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.2873, allocations: 67.84 kB / 444.3 MB, free: 9.855 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.0009919/0.2883, allocations: 0.8861 MB / 445.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006087/0.2889, allocations: 254.8 kB / 445.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.2889, allocations: 4 kB / 445.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.2892, allocations: 182.6 kB / 445.7 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.2896, allocations: 35.05 kB / 445.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.2926, allocations: 2.222 MB / 447.9 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.293, allocations: 0.7398 MB / 448.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.462e-05/0.2931, allocations: 9.484 kB / 448.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/0.2932, allocations: 55.42 kB / 448.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2932, allocations: 4 kB / 448.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0353/0.3285, allocations: 4.654 MB / 453.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.47, allocations: 0 / 453.4 MB, free: 0.7773 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 & /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.788019341882318] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'onOffController.y'] 10.552737776655704 10.578641663 10.299516246 Calling exit ...