Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 103.6 kB / 20.43 MB, free: 1.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 186 kB / 23.71 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 51.92 kB / 370.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2677, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01799/0.2857, allocations: 14.57 MB / 437.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.2969, allocations: 6.264 MB / 443.4 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009952/0.2979, allocations: 31.69 kB / 443.4 MB, free: 9.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.2991, allocations: 322 kB / 443.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003296/0.3024, allocations: 1.108 MB / 444.8 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005075/0.3075, allocations: 1.823 MB / 446.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003491/0.311, allocations: 2.218 MB / 448.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.3122, allocations: 0.5102 MB / 449.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.3139, allocations: 0.8371 MB / 450.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.3155, allocations: 0.8369 MB / 451.1 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002987/0.3158, allocations: 80 kB / 451.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.3182, allocations: 1.006 MB / 452.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004805/0.3186, allocations: 323 kB / 452.5 MB, free: 364 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007269/0.3194, allocations: 386.5 kB / 452.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003108/0.3225, allocations: 1.81 MB / 454.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3225, allocations: 0 / 454.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3225, allocations: 0 / 454.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.924e-05/0.3225, allocations: 0 / 454.7 MB, free: 14.16 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.003401/0.3259, allocations: 1.224 MB / 455.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.326, allocations: 12.03 kB / 455.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/0.3262, allocations: 102.7 kB / 456 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004211/0.3266, allocations: 96.42 kB / 456.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.3279, allocations: 0.5633 MB / 456.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001737/0.3281, allocations: 168 kB / 456.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001252/0.3282, allocations: 51.98 kB / 456.9 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.33, allocations: 1.168 MB / 458 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.3301, allocations: 0 / 458 MB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-05/0.3302, allocations: 27.98 kB / 458.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.58e-05/0.3302, allocations: 57.2 kB / 458.1 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.3318, allocations: 0.8404 MB / 459 MB, free: 9.672 MB / 366.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.005955/0.3378, allocations: 2.749 MB / 461.7 MB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.3389, allocations: 0.6269 MB / 462.3 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005679/0.3394, allocations: 346.2 kB / 462.7 MB, free: 5.879 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002644/0.3421, allocations: 1.216 MB / 463.9 MB, free: 4.641 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.514e-05/0.3421, allocations: 43.06 kB / 463.9 MB, free: 4.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 2.395e-06/0.3421, allocations: 0 / 463.9 MB, free: 4.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.007495/0.3496, allocations: 2.69 MB / 466.6 MB, free: 1.871 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.3497, allocations: 85.77 kB / 466.7 MB, free: 1.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.3508, allocations: 0.6876 MB / 467.4 MB, free: 1.074 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.072e-05/0.3509, allocations: 37.7 kB / 467.4 MB, free: 1.031 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.3512, allocations: 333 kB / 467.8 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.3515, allocations: 249.9 kB / 468 MB, free: 464 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/0.3517, allocations: 150.6 kB / 468.1 MB, free: 304 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002261/0.352, allocations: 386.8 kB / 468.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006575/0.3526, allocations: 372.6 kB / 468.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007999/0.3534, allocations: 0.5442 MB / 469.4 MB, free: 14.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001445/0.3549, allocations: 0.8642 MB / 470.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3549, allocations: 0 / 470.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002204/0.3571, allocations: 1.165 MB / 471.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.3571, allocations: 6.188 kB / 471.5 MB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.3571, allocations: 7.938 kB / 471.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.3586, allocations: 460.9 kB / 471.9 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/0.3592, allocations: 159.8 kB / 472.1 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001408/0.3607, allocations: 1.016 MB / 473.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006691/0.3613, allocations: 32.03 kB / 473.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-05/0.3614, allocations: 35.98 kB / 473.2 MB, free: 11.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009922/0.3624, allocations: 0.5331 MB / 473.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008244/0.3632, allocations: 0.5333 MB / 474.2 MB, free: 9.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001463/0.3647, allocations: 0.8493 MB / 475.1 MB, free: 9.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.046e-06/0.3647, allocations: 4 kB / 475.1 MB, free: 9.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.00217/0.3669, allocations: 1.095 MB / 476.2 MB, free: 7.949 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3669, allocations: 8 kB / 476.2 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3669, allocations: 4 kB / 476.2 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007741/0.3677, allocations: 320.8 kB / 476.5 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006718/0.3684, allocations: 163.8 kB / 476.7 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/0.3695, allocations: 0.9151 MB / 477.6 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006361/0.3701, allocations: 32.03 kB / 477.6 MB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.372e-05/0.3702, allocations: 35.98 kB / 477.6 MB, free: 6.453 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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 {(4,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003417/0.3706, allocations: 220.1 kB / 477.9 MB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/0.3708, allocations: 87.45 kB / 477.9 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.3731, allocations: 1.087 MB / 479 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.3731, allocations: 8 kB / 479 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3731, allocations: 0 / 479 MB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3731, allocations: 3.984 kB / 479 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00395/0.3771, allocations: 1.855 MB / 480.9 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3771, allocations: 4 kB / 480.9 MB, free: 3.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.3777, allocations: 116 kB / 481 MB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.379, allocations: 448.4 kB / 481.5 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.766e-05/0.379, allocations: 15.98 kB / 481.5 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001283/0.3803, allocations: 1.032 MB / 482.5 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.3803, allocations: 0 / 482.5 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.3831, allocations: 1.593 MB / 484.1 MB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005425/0.3836, allocations: 171.4 kB / 484.3 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.3838, allocations: 16 kB / 484.3 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006284/0.3844, allocations: 39.91 kB / 484.3 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.3846, allocations: 56.55 kB / 484.4 MB, free: 15.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-05/0.3847, allocations: 27.98 kB / 484.4 MB, free: 15.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006978/0.3854, allocations: 479 kB / 484.9 MB, free: 15.11 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3854, allocations: 0 / 484.9 MB, free: 15.11 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001667/0.387, allocations: 0.5887 MB / 485.5 MB, free: 14.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * 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 {(4,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004036/0.3911, allocations: 2.518 MB / 488 MB, free: 11.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003058/0.3941, allocations: 1.326 MB / 489.3 MB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.582e-06/0.3941, allocations: 4 kB / 489.3 MB, free: 10.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000961/0.3951, allocations: 439.5 kB / 489.7 MB, free: 10.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.3969, allocations: 384.1 kB / 490.1 MB, free: 9.844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.4099, allocations: 7.766 MB / 497.9 MB, free: 1.875 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004596/0.4103, allocations: 396.7 kB / 498.3 MB, free: 1.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001014/0.4113, allocations: 310.5 kB / 498.6 MB, free: 1.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004573/0.4118, allocations: 283.3 kB / 498.8 MB, free: 0.875 MB / 398.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4118, allocations: 0 / 498.8 MB, free: 0.875 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07584/0.4876, allocations: 32.22 MB / 0.5186 GB, free: 1.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.27, allocations: 7.922 kB / 0.5186 GB, free: 1.082 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00998801 Modelica_4_0_0_Modelica_Fluid_Examples_Tanks_EmptyTanks.fmu > Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.75243875477463] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank2.level', 'tank2.ports[1].m_flow'] 14.418050740845501 14.448337558 14.120174614 Calling exit ...