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.001415/0.001415, 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.001542/0.001542, 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.002076/0.002076, allocations: 68.55 kB / 378.5 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2431, allocations: 53.37 MB / 431.9 MB, free: 6.84 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature): time 0.00405/0.2471, allocations: 2.539 MB / 434.5 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2484, allocations: 0.6895 MB / 435.1 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.2486, allocations: 7.938 kB / 435.1 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.2487, allocations: 35.64 kB / 435.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001447/0.2488, allocations: 75.34 kB / 435.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.2491, allocations: 63.91 kB / 435.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003075/0.2494, allocations: 258.8 kB / 435.6 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.2496, allocations: 79.69 kB / 435.6 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.2497, allocations: 99.7 kB / 435.7 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.2499, allocations: 115.4 kB / 435.9 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.2499, allocations: 23.98 kB / 435.9 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.42e-05/0.25, allocations: 24 kB / 435.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.448e-05/0.25, allocations: 47.84 kB / 436 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.2502, allocations: 119.5 kB / 436.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.2505, allocations: 256 kB / 436.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2505, allocations: 0 / 436.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2505, allocations: 0 / 436.3 MB, free: 2.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.2505, allocations: 0 / 436.3 MB, free: 2.418 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.0009567/0.2515, allocations: 489.5 kB / 436.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.2515, allocations: 8.031 kB / 436.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.54e-05/0.2516, allocations: 59.16 kB / 436.9 MB, free: 1.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.2517, allocations: 28.75 kB / 436.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003282/0.252, allocations: 178.6 kB / 437.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.252, allocations: 16.81 kB / 437.1 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.2521, allocations: 24.36 kB / 437.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004595/0.2525, allocations: 233.9 kB / 437.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.2526, allocations: 0 / 437.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.2526, allocations: 12 kB / 437.3 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2526, allocations: 4 kB / 437.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003921/0.253, allocations: 157.7 kB / 437.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001313/0.2543, allocations: 0.7859 MB / 438.3 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.2547, allocations: 146.6 kB / 438.4 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001905/0.2549, allocations: 76.75 kB / 438.5 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.2549, allocations: 11.94 kB / 438.5 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/0.2549, allocations: 42.5 kB / 438.6 MB, free: 24 kB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.2549, allocations: 3.938 kB / 438.6 MB, free: 20 kB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008609/0.2558, allocations: 258.2 kB / 438.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.2558, allocations: 51.41 kB / 438.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001831/0.256, allocations: 180.1 kB / 439 MB, free: 15.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.256, allocations: 25.7 kB / 439.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.2562, allocations: 148.4 kB / 439.2 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.2562, allocations: 59.55 kB / 439.3 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/0.2563, allocations: 41.7 kB / 439.3 MB, free: 15.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.2564, allocations: 334.8 kB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.2566, allocations: 51.95 kB / 439.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.2568, allocations: 84.27 kB / 439.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.2571, allocations: 142.8 kB / 439.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2571, allocations: 4 kB / 439.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000481/0.2575, allocations: 222.1 kB / 440.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.2576, allocations: 4 kB / 440.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2576, allocations: 4 kB / 440.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/0.2578, allocations: 32.84 kB / 440.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.2579, allocations: 35.91 kB / 440.2 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.2593, allocations: 1.366 MB / 441.6 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.2595, allocations: 27.91 kB / 441.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2595, allocations: 4.062 kB / 441.6 MB, free: 12.76 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.0001487/0.2596, allocations: 144 kB / 441.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.575e-05/0.2597, allocations: 19.86 kB / 441.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.175e-05/0.2598, allocations: 25.94 kB / 441.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2598, allocations: 3.984 kB / 441.8 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2598, allocations: 3.938 kB / 441.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2598, allocations: 0 / 441.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008143/0.2606, allocations: 0.4904 MB / 442.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2606, allocations: 0 / 442.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001519/0.2607, allocations: 23.98 kB / 442.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/0.2609, allocations: 36.84 kB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.2609, allocations: 0 / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.2621, allocations: 1.369 MB / 443.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2621, allocations: 0 / 443.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006713/0.2628, allocations: 361.7 kB / 444.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.51e-05/0.2628, allocations: 31.73 kB / 444.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.2629, allocations: 8 kB / 444.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.2631, allocations: 24.03 kB / 444.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.2631, allocations: 15.97 kB / 444.1 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.2631, allocations: 4 kB / 444.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.2632, allocations: 131.5 kB / 444.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2632, allocations: 0 / 444.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003277/0.2636, allocations: 59.84 kB / 444.3 MB, free: 9.832 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.001048/0.2646, allocations: 0.8928 MB / 445.2 MB, free: 8.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005851/0.2652, allocations: 246.9 kB / 445.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.2652, allocations: 4 kB / 445.5 MB, free: 8.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002928/0.2655, allocations: 197.2 kB / 445.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.2658, allocations: 38.31 kB / 445.7 MB, free: 8.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003189/0.269, allocations: 2.222 MB / 447.9 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.2694, allocations: 0.7281 MB / 448.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.005e-05/0.2695, allocations: 17.48 kB / 448.7 MB, free: 5.309 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.2696, allocations: 59.41 kB / 448.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.2696, allocations: 0 / 448.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03467/0.3043, allocations: 4.651 MB / 453.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.01/10.32, allocations: 0 / 453.4 MB, free: 0.7383 MB / 350.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 & 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: 12.749331454280764] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'onOffController.y'] 10.405782906338573 10.434558332 10.178558992 Calling exit ...