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.001824/0.001824, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002267/0.002267, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.002018/0.002018, allocations: 64.77 kB / 378.5 MB, free: 3.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2764, allocations: 53.37 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004619/0.281, allocations: 3.097 MB / 435 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.2832, allocations: 1.041 MB / 436 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002234/0.2834, allocations: 19.81 kB / 436.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002933/0.2837, allocations: 98.98 kB / 436.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.2839, allocations: 99.02 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006041/0.2845, allocations: 231.6 kB / 436.5 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006469/0.2851, allocations: 0.541 MB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.2854, allocations: 147.2 kB / 437.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.2858, allocations: 191.2 kB / 437.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.286, allocations: 179 kB / 437.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.22e-05/0.286, allocations: 36 kB / 437.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000126/0.2862, allocations: 63.98 kB / 437.6 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.371e-05/0.2862, allocations: 83.64 kB / 437.7 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.2865, allocations: 238.6 kB / 437.9 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006977/0.2871, allocations: 0.588 MB / 438.5 MB, free: 208 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.2872, allocations: 4 kB / 438.5 MB, free: 204 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2872, allocations: 0 / 438.5 MB, free: 204 kB / 334.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.2872, allocations: 0 / 438.5 MB, free: 204 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.001085/0.2883, allocations: 0.6842 MB / 439.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2883, allocations: 8.031 kB / 439.2 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.922e-05/0.2884, allocations: 74.72 kB / 439.3 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002236/0.2886, allocations: 72.11 kB / 439.4 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006629/0.2893, allocations: 355.5 kB / 439.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.515e-05/0.2893, allocations: 33 kB / 439.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.036e-05/0.2894, allocations: 47.88 kB / 439.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007926/0.2902, allocations: 491.3 kB / 440.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.2902, allocations: 11.88 kB / 440.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.2902, allocations: 16 kB / 440.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.2902, allocations: 12 kB / 440.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005022/0.2908, allocations: 246.1 kB / 440.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/0.2932, allocations: 2.754 MB / 443.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004525/0.2937, allocations: 158.7 kB / 443.5 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.2938, allocations: 65.12 kB / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.901e-05/0.2939, allocations: 11.92 kB / 443.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.294, allocations: 34.5 kB / 443.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.294, allocations: 0 / 443.6 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001288/0.2952, allocations: 0.5545 MB / 444.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.2953, allocations: 55.41 kB / 444.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.2957, allocations: 353.6 kB / 444.5 MB, free: 9.852 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.2957, allocations: 25.7 kB / 444.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.2959, allocations: 311.7 kB / 444.9 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.296, allocations: 67.47 kB / 444.9 MB, free: 9.445 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.2961, allocations: 69.61 kB / 445 MB, free: 9.371 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.2963, allocations: 350.7 kB / 445.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.2964, allocations: 63.97 kB / 445.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.2967, allocations: 219.4 kB / 445.6 MB, free: 8.672 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.0009457/0.2977, allocations: 449.1 kB / 446 MB, free: 8.164 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.2977, allocations: 4 kB / 446 MB, free: 8.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006172/0.2983, allocations: 360 kB / 446.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.2983, allocations: 8 kB / 446.4 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.2983, allocations: 8 kB / 446.4 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/0.2985, allocations: 36.84 kB / 446.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.2987, allocations: 71.84 kB / 446.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.3002, allocations: 1.532 MB / 448.1 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.3003, allocations: 16.06 kB / 448.1 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.3003, allocations: 16 kB / 448.1 MB, free: 6 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.0002236/0.3006, allocations: 173.6 kB / 448.3 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.3006, allocations: 39.7 kB / 448.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.927e-05/0.3007, allocations: 47.41 kB / 448.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3007, allocations: 0 / 448.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.3007, allocations: 4 kB / 448.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3007, allocations: 0 / 448.3 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.3018, allocations: 0.6861 MB / 449 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3018, allocations: 0 / 449 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.3019, allocations: 31.92 kB / 449.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.573e-05/0.302, allocations: 28.84 kB / 449.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.302, allocations: 4 kB / 449.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.3031, allocations: 1.331 MB / 450.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3031, allocations: 4.031 kB / 450.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005573/0.3037, allocations: 372.5 kB / 450.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.3037, allocations: 31.8 kB / 450.8 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.3038, allocations: 8 kB / 450.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.3039, allocations: 0 / 450.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/0.3039, allocations: 19.91 kB / 450.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.3039, allocations: 4 kB / 450.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002521/0.3042, allocations: 243.2 kB / 451.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3042, allocations: 0 / 451.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.3046, allocations: 68 kB / 451.2 MB, free: 2.707 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.0008456/0.3055, allocations: 0.8934 MB / 452 MB, free: 1.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005812/0.306, allocations: 299.5 kB / 452.3 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.306, allocations: 4.25 kB / 452.3 MB, free: 1.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.3063, allocations: 178.6 kB / 452.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.3066, allocations: 44.22 kB / 452.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004413/0.311, allocations: 3.352 MB / 455.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004845/0.3115, allocations: 0.8185 MB / 456.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001201/0.3116, allocations: 47.19 kB / 456.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.3118, allocations: 159.4 kB / 456.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3118, allocations: 4 kB / 456.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03578/0.3476, allocations: 6.531 MB / 463.5 MB, free: 6.215 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/10.75, allocations: 9.828 kB / 463.5 MB, free: 6.211 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_HeatTransfer_Examples_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.114640928804874] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor3a.T', 'capacitor3b.T', 'directCapacity.heatCapacitor.T'] 10.83913550293073 10.86848589 10.575535347 Calling exit ...