Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 210.5 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.797 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_4_1_0_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_4_1_0_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 43.94 kB / 377.7 MB, free: 2.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2548, allocations: 53.36 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01766/0.2725, allocations: 14.67 MB / 445.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.2826, allocations: 6.292 MB / 452 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009464/0.2835, allocations: 31.69 kB / 452.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.2846, allocations: 326 kB / 452.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003407/0.288, allocations: 1.112 MB / 453.5 MB, free: 156 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005469/0.2935, allocations: 1.804 MB / 455.3 MB, free: 14.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002971/0.2965, allocations: 2.218 MB / 457.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000743/0.2972, allocations: 0.5101 MB / 458 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.2985, allocations: 0.8449 MB / 458.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.2998, allocations: 0.8291 MB / 459.7 MB, free: 9.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.2999, allocations: 80 kB / 459.8 MB, free: 9.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.3021, allocations: 1.018 MB / 460.8 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003941/0.3025, allocations: 323 kB / 461.1 MB, free: 8.516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004583/0.3029, allocations: 386.4 kB / 461.5 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.3054, allocations: 1.838 MB / 463.3 MB, free: 6.293 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3054, allocations: 4 kB / 463.3 MB, free: 6.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3054, allocations: 0 / 463.3 MB, free: 6.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.3054, allocations: 0 / 463.3 MB, free: 6.289 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.00265/0.3081, allocations: 1.224 MB / 464.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.3081, allocations: 15.97 kB / 464.6 MB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/0.3083, allocations: 98.69 kB / 464.7 MB, free: 4.906 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003138/0.3086, allocations: 100.4 kB / 464.8 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/0.3097, allocations: 0.5633 MB / 465.3 MB, free: 4.223 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.3098, allocations: 164.1 kB / 465.5 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.3099, allocations: 71.81 kB / 465.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.3115, allocations: 1.165 MB / 466.7 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.3115, allocations: 0 / 466.7 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.261e-05/0.3116, allocations: 19.98 kB / 466.7 MB, free: 2.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.169e-05/0.3117, allocations: 53.22 kB / 466.8 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/0.3132, allocations: 0.8405 MB / 467.6 MB, free: 1.793 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.005331/0.3185, allocations: 2.71 MB / 470.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.3195, allocations: 0.6267 MB / 471 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000567/0.3201, allocations: 342.2 kB / 471.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002469/0.3226, allocations: 1.216 MB / 472.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.3226, allocations: 43.06 kB / 472.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 1.933e-06/0.3226, allocations: 4 kB / 472.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.006962/0.3296, allocations: 2.694 MB / 475.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.3296, allocations: 85.77 kB / 475.3 MB, free: 9.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008758/0.3305, allocations: 0.6953 MB / 476 MB, free: 9.227 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.384e-05/0.3306, allocations: 37.7 kB / 476.1 MB, free: 9.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.3308, allocations: 341 kB / 476.4 MB, free: 8.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002047/0.331, allocations: 234 kB / 476.6 MB, free: 8.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000259/0.3313, allocations: 154.5 kB / 476.8 MB, free: 8.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.3315, allocations: 386.8 kB / 477.2 MB, free: 8.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006541/0.3322, allocations: 376.6 kB / 477.5 MB, free: 7.695 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007688/0.3329, allocations: 0.5467 MB / 478.1 MB, free: 7.082 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.3343, allocations: 0.8603 MB / 478.9 MB, free: 6.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3343, allocations: 0 / 478.9 MB, free: 6.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002054/0.3363, allocations: 1.157 MB / 480.1 MB, free: 4.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3363, allocations: 11.94 kB / 480.1 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.3363, allocations: 4 kB / 480.1 MB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.3376, allocations: 452.8 kB / 480.6 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/0.3383, allocations: 163.8 kB / 480.7 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.3395, allocations: 1.017 MB / 481.7 MB, free: 3.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005433/0.3401, allocations: 32.02 kB / 481.8 MB, free: 3.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.656e-05/0.3402, allocations: 32 kB / 481.8 MB, free: 3.266 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008568/0.341, allocations: 0.5331 MB / 482.3 MB, free: 2.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007513/0.3418, allocations: 0.5372 MB / 482.9 MB, free: 2.125 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001301/0.3431, allocations: 0.8493 MB / 483.7 MB, free: 1.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.799e-06/0.3431, allocations: 4 kB / 483.7 MB, free: 1.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001952/0.345, allocations: 1.099 MB / 484.8 MB, free: 104 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.345, allocations: 8 kB / 484.8 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.345, allocations: 4 kB / 484.8 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007278/0.3458, allocations: 320.8 kB / 485.1 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.3464, allocations: 159.8 kB / 485.3 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001015/0.3474, allocations: 0.9074 MB / 486.2 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/0.348, allocations: 36.02 kB / 486.2 MB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.348, allocations: 31.94 kB / 486.3 MB, free: 14.62 MB / 398.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.0002437/0.3483, allocations: 232.1 kB / 486.5 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.3484, allocations: 87.42 kB / 486.6 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.3505, allocations: 1.084 MB / 487.7 MB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.3505, allocations: 11.98 kB / 487.7 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3505, allocations: 0 / 487.7 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3505, allocations: 3.938 kB / 487.7 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/0.3537, allocations: 1.844 MB / 489.5 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3537, allocations: 0 / 489.5 MB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005691/0.3542, allocations: 119.9 kB / 489.6 MB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/0.3554, allocations: 444.5 kB / 490.1 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.305e-05/0.3554, allocations: 23.92 kB / 490.1 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001319/0.3568, allocations: 1.025 MB / 491.1 MB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3568, allocations: 0 / 491.1 MB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.3594, allocations: 1.601 MB / 492.7 MB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004529/0.3598, allocations: 171.4 kB / 492.9 MB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.3599, allocations: 16 kB / 492.9 MB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004936/0.3604, allocations: 35.92 kB / 492.9 MB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.3606, allocations: 56.55 kB / 493 MB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.347e-05/0.3606, allocations: 23.98 kB / 493 MB, free: 7.738 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006043/0.3612, allocations: 483 kB / 493.5 MB, free: 7.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3612, allocations: 0 / 493.5 MB, free: 7.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001451/0.3627, allocations: 0.5887 MB / 494.1 MB, free: 6.684 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.003871/0.3665, allocations: 2.507 MB / 496.6 MB, free: 4.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002957/0.3695, allocations: 1.33 MB / 497.9 MB, free: 2.816 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.3695, allocations: 0 / 497.9 MB, free: 2.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009511/0.3705, allocations: 439.5 kB / 498.3 MB, free: 2.387 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.3724, allocations: 396.9 kB / 498.7 MB, free: 2.008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/0.3853, allocations: 7.767 MB / 0.4946 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.3857, allocations: 396.7 kB / 0.495 GB, free: 9.625 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001062/0.3868, allocations: 306.5 kB / 0.4953 GB, free: 9.32 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004528/0.3872, allocations: 287.3 kB / 0.4956 GB, free: 9.039 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3872, allocations: 0 / 0.4956 GB, free: 9.039 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07856/0.4658, allocations: 32.19 MB / 0.527 GB, free: 9.277 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.05, allocations: 7.719 kB / 0.527 GB, free: 9.273 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Fluid_Examples_Tanks_EmptyTanks.fmu > Modelica_4.1.0_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.927984124049544] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank2.level', 'tank2.ports[1].m_flow'] 14.19501129211858 14.399008154 14.091125149 Calling exit ...