Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.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.001791/0.001791, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001885/0.001885, allocations: 209.3 kB / 24.54 MB, free: 4.055 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.45/1.45, allocations: 230.6 MB / 258.3 MB, free: 8.082 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.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs",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.00192/0.00192, allocations: 64.55 kB / 378.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2531, allocations: 53.36 MB / 431.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.00487/0.258, allocations: 3.108 MB / 435 MB, free: 3.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.2601, allocations: 1.033 MB / 436 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002788/0.2604, allocations: 15.88 kB / 436.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.2607, allocations: 98.98 kB / 436.2 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.261, allocations: 99 kB / 436.2 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006855/0.2617, allocations: 239.5 kB / 436.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007121/0.2624, allocations: 0.5371 MB / 437 MB, free: 1.789 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.2627, allocations: 147.2 kB / 437.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003691/0.2631, allocations: 195.2 kB / 437.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.2634, allocations: 183 kB / 437.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.195e-05/0.2635, allocations: 36 kB / 437.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.2636, allocations: 59.97 kB / 437.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.395e-05/0.2637, allocations: 87.64 kB / 437.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.2639, allocations: 230.7 kB / 437.9 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007333/0.2647, allocations: 0.5841 MB / 438.5 MB, free: 284 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2647, allocations: 0 / 438.5 MB, free: 284 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.2647, allocations: 3.938 kB / 438.5 MB, free: 280 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.15e-05/0.2647, allocations: 4 kB / 438.5 MB, free: 276 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001077/0.2658, allocations: 0.6803 MB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.2658, allocations: 12.03 kB / 439.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.016e-05/0.2659, allocations: 78.72 kB / 439.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.2661, allocations: 72.11 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006993/0.2668, allocations: 347.5 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/0.2668, allocations: 37 kB / 439.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.261e-05/0.2669, allocations: 47.88 kB / 439.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008412/0.2678, allocations: 495.2 kB / 440.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.2678, allocations: 7.984 kB / 440.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.2678, allocations: 16 kB / 440.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.2678, allocations: 12 kB / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005378/0.2684, allocations: 250.1 kB / 440.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.271, allocations: 2.75 MB / 443.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.2715, allocations: 154.7 kB / 443.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.2716, allocations: 61.12 kB / 443.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001215/0.2717, allocations: 19.91 kB / 443.5 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.2718, allocations: 38.5 kB / 443.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.194e-06/0.2718, allocations: 0 / 443.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001375/0.2731, allocations: 0.55 MB / 444.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.2732, allocations: 55.41 kB / 444.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.2736, allocations: 353.6 kB / 444.5 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.2736, allocations: 29.7 kB / 444.6 MB, free: 9.887 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.2739, allocations: 307.7 kB / 444.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.2739, allocations: 63.47 kB / 444.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.274, allocations: 69.61 kB / 445 MB, free: 9.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.2742, allocations: 354.7 kB / 445.3 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.2744, allocations: 63.97 kB / 445.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.2746, allocations: 219.4 kB / 445.6 MB, free: 8.742 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: inverseCapacity.mass.T = $START.inverseCapacity.mass.T ($START.directCapacity.heatFlowToTemperature.y = $START.inverseCapacity.mass.T) Notification: Performance of analyzeInitialSystem (initialization): time 0.0009935/0.2756, allocations: 449.1 kB / 446 MB, free: 8.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.2756, allocations: 4 kB / 446 MB, free: 8.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006503/0.2763, allocations: 359.8 kB / 446.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.2763, allocations: 10.97 kB / 446.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.2763, allocations: 4 kB / 446.4 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/0.2764, allocations: 41.53 kB / 446.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.2767, allocations: 71.91 kB / 446.5 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.2782, allocations: 1.539 MB / 448.1 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001883/0.2784, allocations: 12 kB / 448.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.632e-05/0.2784, allocations: 16 kB / 448.1 MB, free: 6.066 MB / 350.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: inverseCapacity.mass.T = $START.inverseCapacity.mass.T. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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.0002533/0.2787, allocations: 177.6 kB / 448.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.723e-05/0.2788, allocations: 39.7 kB / 448.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.349e-05/0.2789, allocations: 43.47 kB / 448.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.2789, allocations: 0 / 448.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2789, allocations: 4.062 kB / 448.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.2789, allocations: 0 / 448.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.28, allocations: 0.6782 MB / 449 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.28, allocations: 4 kB / 449 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001876/0.2802, allocations: 31.92 kB / 449.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.545e-05/0.2803, allocations: 28.84 kB / 449.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.2803, allocations: 8.031 kB / 449.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.2815, allocations: 1.327 MB / 450.4 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.2815, allocations: 4.094 kB / 450.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005811/0.2821, allocations: 365.2 kB / 450.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.2822, allocations: 31.8 kB / 450.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.2822, allocations: 8 kB / 450.8 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.2823, allocations: 3.938 kB / 450.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.2824, allocations: 23.91 kB / 450.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.2824, allocations: 4 kB / 450.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002832/0.2827, allocations: 239.2 kB / 451.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2827, allocations: 0 / 451.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004742/0.2832, allocations: 68 kB / 451.2 MB, free: 2.777 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inverseCapacity.mass.T,capacitor3a.T,capacitor3b.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001/0.2842, allocations: 0.8934 MB / 452 MB, free: 1.852 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00072/0.2849, allocations: 303.7 kB / 452.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2849, allocations: 3.938 kB / 452.3 MB, free: 1.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002607/0.2851, allocations: 177.4 kB / 452.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.2855, allocations: 44.23 kB / 452.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004703/0.2902, allocations: 3.357 MB / 455.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005008/0.2907, allocations: 0.8146 MB / 456.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001269/0.2908, allocations: 39.27 kB / 456.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.291, allocations: 163.4 kB / 456.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.291, allocations: 0 / 456.9 MB, free: 12.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04582/0.3369, allocations: 6.534 MB / 463.5 MB, free: 6.293 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.86, allocations: 10.62 kB / 463.5 MB, free: 6.285 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.csv --start-time 0 --stop-time 1 --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_GenerationOfFMUs.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.316442097071558] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor3a.T', 'capacitor3b.T', 'directCapacity.heatCapacitor.T'] 10.942745027132332 10.958324279 10.690417379 Calling exit ...