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.001795/0.001795, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002048/0.002048, allocations: 205.6 kB / 23.73 MB, free: 4.379 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001573/0.001573, allocations: 47.92 kB / 377.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2456, allocations: 53.37 MB / 431.1 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01956/0.2651, allocations: 14.66 MB / 445.7 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.2756, allocations: 6.292 MB / 452 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006961/0.2763, allocations: 31.69 kB / 452.1 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009053/0.2772, allocations: 318 kB / 452.4 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002787/0.28, allocations: 1.124 MB / 453.5 MB, free: 144 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004441/0.2844, allocations: 1.814 MB / 455.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003039/0.2875, allocations: 2.233 MB / 457.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008973/0.2884, allocations: 0.5101 MB / 458 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.2899, allocations: 0.8411 MB / 458.9 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.2912, allocations: 0.8564 MB / 459.7 MB, free: 9.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001809/0.2914, allocations: 80 kB / 459.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002252/0.2936, allocations: 1.061 MB / 460.9 MB, free: 8.727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004218/0.2941, allocations: 330.9 kB / 461.2 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005316/0.2946, allocations: 386.4 kB / 461.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.2974, allocations: 1.834 MB / 463.4 MB, free: 6.184 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.2974, allocations: 0 / 463.4 MB, free: 6.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2974, allocations: 0 / 463.4 MB, free: 6.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.811e-05/0.2974, allocations: 0 / 463.4 MB, free: 6.184 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.002818/0.3002, allocations: 1.227 MB / 464.6 MB, free: 4.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3003, allocations: 12.03 kB / 464.7 MB, free: 4.906 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/0.3004, allocations: 98.69 kB / 464.8 MB, free: 4.801 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/0.3008, allocations: 104.4 kB / 464.9 MB, free: 4.699 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.3019, allocations: 0.5633 MB / 465.4 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.3021, allocations: 160.1 kB / 465.6 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.3022, allocations: 63.92 kB / 465.6 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.3039, allocations: 1.172 MB / 466.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.3039, allocations: 0 / 466.8 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.259e-05/0.304, allocations: 23.98 kB / 466.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-05/0.3041, allocations: 53.2 kB / 466.9 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001483/0.3056, allocations: 0.8366 MB / 467.7 MB, free: 1.688 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.005643/0.3112, allocations: 2.71 MB / 470.4 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.3123, allocations: 0.6306 MB / 471.1 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000573/0.3129, allocations: 342.2 kB / 471.4 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002667/0.3156, allocations: 1.22 MB / 472.6 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.548e-05/0.3156, allocations: 47 kB / 472.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.194e-06/0.3156, allocations: 0 / 472.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.007275/0.3229, allocations: 2.697 MB / 475.4 MB, free: 9.922 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.323, allocations: 85.77 kB / 475.4 MB, free: 9.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009856/0.3239, allocations: 0.6953 MB / 476.1 MB, free: 9.113 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.038e-05/0.324, allocations: 33.7 kB / 476.2 MB, free: 9.074 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.3243, allocations: 341 kB / 476.5 MB, free: 8.734 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002732/0.3246, allocations: 238 kB / 476.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/0.3249, allocations: 146.6 kB / 476.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002266/0.3251, allocations: 386.8 kB / 477.3 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006835/0.3258, allocations: 380.6 kB / 477.6 MB, free: 7.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00085/0.3267, allocations: 0.5506 MB / 478.2 MB, free: 6.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.3282, allocations: 0.8564 MB / 479 MB, free: 6.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3282, allocations: 0 / 479 MB, free: 6.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002264/0.3305, allocations: 1.161 MB / 480.2 MB, free: 4.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.3305, allocations: 8 kB / 480.2 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.3305, allocations: 4.562 kB / 480.2 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.3319, allocations: 456.4 kB / 480.7 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007883/0.3326, allocations: 155.8 kB / 480.8 MB, free: 4.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/0.3341, allocations: 1.021 MB / 481.8 MB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006285/0.3347, allocations: 27.98 kB / 481.9 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.923e-05/0.3348, allocations: 35.98 kB / 481.9 MB, free: 3.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008932/0.3357, allocations: 0.5292 MB / 482.4 MB, free: 2.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000798/0.3365, allocations: 0.5372 MB / 483 MB, free: 2.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001523/0.338, allocations: 0.8493 MB / 483.8 MB, free: 1.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.253e-06/0.338, allocations: 4 kB / 483.8 MB, free: 1.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.002121/0.3401, allocations: 1.099 MB / 484.9 MB, free: 0 / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.3402, allocations: 4.047 kB / 484.9 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.3402, allocations: 7.938 kB / 484.9 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007894/0.341, allocations: 324.9 kB / 485.2 MB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007108/0.3417, allocations: 163.8 kB / 485.4 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.3428, allocations: 0.9073 MB / 486.3 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006196/0.3434, allocations: 40.02 kB / 486.3 MB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.194e-05/0.3435, allocations: 31.98 kB / 486.4 MB, free: 14.5 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.0003486/0.3438, allocations: 224.1 kB / 486.6 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.344, allocations: 87.42 kB / 486.7 MB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002199/0.3462, allocations: 1.087 MB / 487.8 MB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.3463, allocations: 8 kB / 487.8 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3463, allocations: 0 / 487.8 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.3463, allocations: 3.984 kB / 487.8 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/0.3498, allocations: 1.836 MB / 489.6 MB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.3499, allocations: 8 kB / 489.6 MB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006096/0.3505, allocations: 119.8 kB / 489.7 MB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.3517, allocations: 451.4 kB / 490.2 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.669e-05/0.3518, allocations: 19.98 kB / 490.2 MB, free: 10.6 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001321/0.3531, allocations: 1.028 MB / 491.2 MB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3531, allocations: 0 / 491.2 MB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.3559, allocations: 1.601 MB / 492.8 MB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005556/0.3564, allocations: 175.4 kB / 493 MB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.3566, allocations: 12 kB / 493 MB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005115/0.3571, allocations: 31.92 kB / 493 MB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.3572, allocations: 56.55 kB / 493.1 MB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.061e-05/0.3573, allocations: 27.97 kB / 493.1 MB, free: 7.629 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006564/0.358, allocations: 483 kB / 493.6 MB, free: 7.164 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.358, allocations: 0 / 493.6 MB, free: 7.164 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001608/0.3596, allocations: 0.5849 MB / 494.2 MB, free: 6.578 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.004185/0.3637, allocations: 2.515 MB / 496.7 MB, free: 4.031 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.3671, allocations: 1.323 MB / 498 MB, free: 2.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.3671, allocations: 0 / 498 MB, free: 2.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.3682, allocations: 443.6 kB / 498.5 MB, free: 2.277 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.3702, allocations: 393 kB / 498.8 MB, free: 1.898 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01331/0.3835, allocations: 7.758 MB / 0.4947 GB, free: 9.941 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.3839, allocations: 400.7 kB / 0.4951 GB, free: 9.523 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001026/0.385, allocations: 314.5 kB / 0.4954 GB, free: 9.211 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004358/0.3854, allocations: 279.3 kB / 0.4957 GB, free: 8.938 MB / 414.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3854, allocations: 0 / 0.4957 GB, free: 8.938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07534/0.4607, allocations: 32.47 MB / 0.5274 GB, free: 8.891 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.31, allocations: 2.344 kB / 0.5274 GB, free: 8.891 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: 17.19699996098643] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank2.level', 'tank2.ports[1].m_flow'] 14.455701004015282 14.71112696 14.411168887 Calling exit ...