Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.001941/0.001941, 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.002183/0.002183, 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.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",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.002069/0.002069, allocations: 64.77 kB / 378.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2676, allocations: 53.37 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004361/0.2719, allocations: 2.908 MB / 434.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002392/0.2743, allocations: 1.422 MB / 436.2 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.2745, allocations: 11.88 kB / 436.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.275, allocations: 187 kB / 436.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005688/0.2756, allocations: 250.6 kB / 436.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.276, allocations: 139.6 kB / 436.8 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006498/0.2766, allocations: 469.8 kB / 437.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.2768, allocations: 60.33 kB / 437.3 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.2771, allocations: 187.3 kB / 437.5 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.2775, allocations: 227.1 kB / 437.7 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.165e-05/0.2775, allocations: 28 kB / 437.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001913/0.2777, allocations: 75.97 kB / 437.8 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.2778, allocations: 79.7 kB / 437.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.278, allocations: 202.9 kB / 438.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006278/0.2787, allocations: 490.8 kB / 438.6 MB, free: 192 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2787, allocations: 4 kB / 438.6 MB, free: 188 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2787, allocations: 0 / 438.6 MB, free: 188 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.2787, allocations: 0 / 438.6 MB, free: 188 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001144/0.2798, allocations: 0.6483 MB / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2799, allocations: 8.031 kB / 439.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.28, allocations: 59.17 kB / 439.3 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.551e-05/0.2801, allocations: 48.66 kB / 439.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/0.2806, allocations: 297 kB / 439.6 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/0.2807, allocations: 16.81 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.2807, allocations: 27.94 kB / 439.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005052/0.2812, allocations: 293.5 kB / 440 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2812, allocations: 4 kB / 440 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.2812, allocations: 12 kB / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.2813, allocations: 7.984 kB / 440 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.2816, allocations: 149.7 kB / 440.1 MB, free: 14.53 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/0.2829, allocations: 0.7964 MB / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004165/0.2834, allocations: 175.1 kB / 441.1 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.2835, allocations: 76.81 kB / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.2835, allocations: 3.938 kB / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000294/0.2838, allocations: 143.2 kB / 441.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.354e-06/0.2838, allocations: 4 kB / 441.3 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008692/0.2847, allocations: 326.5 kB / 441.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001824/0.2849, allocations: 316.4 kB / 442 MB, free: 12.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005065/0.2854, allocations: 441.7 kB / 442.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.2854, allocations: 29.7 kB / 442.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.2856, allocations: 220.4 kB / 442.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.2857, allocations: 87.2 kB / 442.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.212e-05/0.2858, allocations: 57.64 kB / 442.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2859, allocations: 354.8 kB / 443.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/0.2861, allocations: 59.97 kB / 443.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000246/0.2863, allocations: 180 kB / 443.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.2866, allocations: 175.2 kB / 443.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2866, allocations: 4 kB / 443.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004926/0.2871, allocations: 274 kB / 443.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.2871, allocations: 8 kB / 443.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2871, allocations: 0 / 443.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.2873, allocations: 32.84 kB / 443.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.2875, allocations: 51.91 kB / 443.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.2891, allocations: 1.467 MB / 445.4 MB, free: 8.922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.2893, allocations: 27.89 kB / 445.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.2893, allocations: 7.984 kB / 445.4 MB, free: 8.887 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002/0.2895, allocations: 161.8 kB / 445.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.2896, allocations: 47.7 kB / 445.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.2901, allocations: 266.1 kB / 445.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2901, allocations: 4 kB / 445.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-06/0.2901, allocations: 0 / 445.9 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005587/0.2907, allocations: 0.5867 MB / 446.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009989/0.2917, allocations: 0.6785 MB / 447.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.2917, allocations: 4 kB / 447.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.2919, allocations: 43.91 kB / 447.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2919, allocations: 4 kB / 447.2 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.2919, allocations: 8 kB / 447.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2919, allocations: 4 kB / 447.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2919, allocations: 0 / 447.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.2925, allocations: 411 kB / 447.6 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.2927, allocations: 59.7 kB / 447.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.2927, allocations: 8 kB / 447.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.2929, allocations: 19.92 kB / 447.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.293, allocations: 11.97 kB / 447.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.293, allocations: 4 kB / 447.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000372/0.2934, allocations: 319.1 kB / 448 MB, free: 6.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2934, allocations: 4.062 kB / 448 MB, free: 6.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004028/0.2938, allocations: 103.8 kB / 448.1 MB, free: 5.984 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002388/0.2962, allocations: 1.265 MB / 449.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.2968, allocations: 298.6 kB / 449.7 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.2968, allocations: 0 / 449.7 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.297, allocations: 71.91 kB / 449.7 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005986/0.2976, allocations: 99.25 kB / 449.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004793/0.3024, allocations: 3.414 MB / 453.2 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.3028, allocations: 0.7959 MB / 454 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002412/0.3031, allocations: 47 kB / 454.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.3033, allocations: 127.3 kB / 454.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3033, allocations: 0 / 454.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0442/0.3475, allocations: 10.5 MB / 464.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.73, allocations: 4.062 kB / 464.7 MB, free: 5.516 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000299581 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.327902803663164] Failed to read output from testmodel.py, exit status != 0: ['time', 'openTank.H', 'openTank.m'] 12.903229069896042 12.932066948 12.648932323 Calling exit ...