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.001708/0.001708, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.002326/0.002326, allocations: 205 kB / 21.45 MB, free: 1.629 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.51/1.51, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.002022/0.002022, allocations: 75.88 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1108, allocations: 53.33 MB / 427 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.HeatTransfer.Examples.GenerationOfFMUs): time 0.004487/0.1153, allocations: 3.077 MB / 430.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.1172, allocations: 1.033 MB / 431.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.1175, allocations: 15.88 kB / 431.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.1177, allocations: 91.05 kB / 431.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.1179, allocations: 110.9 kB / 431.3 MB, free: 456 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005887/0.1185, allocations: 231.6 kB / 431.5 MB, free: 224 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1927/0.3112, allocations: 0.5385 MB / 432.1 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005062/0.3117, allocations: 149.8 kB / 432.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005596/0.3123, allocations: 187.2 kB / 432.4 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003732/0.3127, allocations: 179.5 kB / 432.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.3128, allocations: 37.16 kB / 432.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.313, allocations: 58.97 kB / 432.7 MB, free: 7.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.099e-05/0.3131, allocations: 89.66 kB / 432.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.3134, allocations: 227.8 kB / 433 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009292/0.3144, allocations: 0.593 MB / 433.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.3144, allocations: 0.7812 kB / 433.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3144, allocations: 0 / 433.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.962e-05/0.3144, allocations: 2.656 kB / 433.6 MB, free: 7.34 MB / 350.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.001272/0.3157, allocations: 0.7597 MB / 434.3 MB, free: 6.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.3157, allocations: 10.25 kB / 434.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.979e-05/0.3158, allocations: 77.67 kB / 434.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.316, allocations: 71.89 kB / 434.5 MB, free: 6.746 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006319/0.3167, allocations: 423 kB / 434.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.3167, allocations: 32 kB / 434.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.626e-05/0.3168, allocations: 41.77 kB / 435 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007024/0.3175, allocations: 489.9 kB / 435.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.3175, allocations: 9.188 kB / 435.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.3175, allocations: 18.33 kB / 435.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.3175, allocations: 11.59 kB / 435.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004756/0.318, allocations: 247 kB / 435.7 MB, free: 6.273 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.32, allocations: 2.815 MB / 438.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004687/0.3205, allocations: 156.1 kB / 438.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.3207, allocations: 67.59 kB / 438.8 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.3208, allocations: 86.17 kB / 438.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.3208, allocations: 36.11 kB / 438.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/0.3208, allocations: 1.25 kB / 438.9 MB, free: 3.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001389/0.3222, allocations: 0.6316 MB / 439.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.3222, allocations: 57.44 kB / 439.6 MB, free: 3.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.3226, allocations: 349 kB / 439.9 MB, free: 3.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.3226, allocations: 28.59 kB / 440 MB, free: 3.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.3228, allocations: 310.5 kB / 440.3 MB, free: 3.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.455e-05/0.3228, allocations: 68.91 kB / 440.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.918e-05/0.3229, allocations: 66.09 kB / 440.4 MB, free: 3.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.323, allocations: 348.1 kB / 440.7 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.3231, allocations: 65.02 kB / 440.8 MB, free: 2.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.3233, allocations: 215.6 kB / 441 MB, free: 2.516 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.0009519/0.3243, allocations: 0.5167 MB / 441.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3243, allocations: 3.312 kB / 441.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006577/0.3249, allocations: 360.9 kB / 441.9 MB, free: 1.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.325, allocations: 14.11 kB / 441.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.325, allocations: 6.438 kB / 441.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001709/0.3252, allocations: 37.28 kB / 441.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.3254, allocations: 73.5 kB / 442 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.3265, allocations: 1.633 MB / 443.6 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.3267, allocations: 16.42 kB / 443.7 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.3268, allocations: 14.28 kB / 443.7 MB, free: 372 kB / 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.0002194/0.327, allocations: 180.4 kB / 443.8 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.327, allocations: 35.55 kB / 443.9 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.769e-05/0.3271, allocations: 38.97 kB / 443.9 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3271, allocations: 6.688 kB / 443.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.3271, allocations: 1.219 kB / 443.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3271, allocations: 2.156 kB / 443.9 MB, free: 160 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.3284, allocations: 0.7122 MB / 444.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3284, allocations: 0.6562 kB / 444.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.3286, allocations: 32.58 kB / 444.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.602e-05/0.3287, allocations: 24.5 kB / 444.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.3287, allocations: 4.562 kB / 444.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001523/0.3302, allocations: 1.44 MB / 446.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3302, allocations: 0 / 446.1 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.3308, allocations: 367.7 kB / 446.5 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.331, allocations: 109.5 kB / 446.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.331, allocations: 2.828 kB / 446.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.3311, allocations: 7.484 kB / 446.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.3312, allocations: 14.61 kB / 446.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.3312, allocations: 8 kB / 446.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003383/0.3315, allocations: 238.2 kB / 446.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3315, allocations: 0 / 446.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005384/0.3321, allocations: 71.75 kB / 446.9 MB, free: 13.69 MB / 366.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.0009211/0.333, allocations: 0.8974 MB / 447.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000711/0.3337, allocations: 305.4 kB / 448.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3337, allocations: 1.375 kB / 448.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.334, allocations: 181.1 kB / 448.3 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.3344, allocations: 48.72 kB / 448.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005128/0.3395, allocations: 3.346 MB / 451.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006973/0.3402, allocations: 0.8175 MB / 452.5 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.3404, allocations: 38.06 kB / 452.6 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.3407, allocations: 156.5 kB / 452.7 MB, free: 9.391 MB / 366.1 MB Notification: Performance of SimCode: time 1.263e-06/0.3407, allocations: 0 / 452.7 MB, free: 9.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04948/0.3902, allocations: 6.353 MB / 459.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.71, allocations: 1.031 kB / 459.1 MB, free: 8.367 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.241336757317185] Failed to read output from testmodel.py, exit status != 0: ['time', 'capacitor3a.T', 'capacitor3b.T', 'directCapacity.heatCapacitor.T'] 10.797532443888485 10.824298468 10.504944353 Calling exit ...