Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001487/0.001487, allocations: 115.9 kB / 18.4 MB, free: 4.664 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.001621/0.001621, allocations: 190.9 kB / 21.34 MB, free: 1.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 229.2 MB, free: 4.543 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001725, allocations: 58.83 kB / 334.7 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1021, allocations: 46.62 MB / 381.3 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Tanks.EmptyTanks): time 0.01836/0.1205, allocations: 15.85 MB / 397.2 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.1307, allocations: 6.838 MB / 404 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009162/0.1317, allocations: 23.88 kB / 404.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.1328, allocations: 330 kB / 404.4 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003058/0.1358, allocations: 1.073 MB / 405.4 MB, free: 8.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005141/0.141, allocations: 1.796 MB / 407.2 MB, free: 6.977 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003405/0.1444, allocations: 2.152 MB / 409.4 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001043/0.1455, allocations: 0.5919 MB / 410 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.1472, allocations: 0.7864 MB / 410.8 MB, free: 3.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.1487, allocations: 0.7941 MB / 411.6 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.1489, allocations: 87.94 kB / 411.7 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00301/0.1519, allocations: 1.213 MB / 412.9 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004438/0.1523, allocations: 319.2 kB / 413.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007086/0.1531, allocations: 454 kB / 413.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005281/0.1583, allocations: 1.85 MB / 415.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.1584, allocations: 0 / 415.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.549e-06/0.1584, allocations: 0 / 415.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.859e-05/0.1585, allocations: 0 / 415.5 MB, free: 14.71 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00371/0.1622, allocations: 1.303 MB / 416.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.1622, allocations: 12.03 kB / 416.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00017/0.1624, allocations: 102.7 kB / 416.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004066/0.1628, allocations: 104.4 kB / 417 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.1641, allocations: 0.6286 MB / 417.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.1643, allocations: 112.7 kB / 417.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.1644, allocations: 51.98 kB / 417.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.166, allocations: 0.8963 MB / 418.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.1661, allocations: 3.938 kB / 418.7 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.402e-05/0.1662, allocations: 27.98 kB / 418.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.288e-05/0.1663, allocations: 49.28 kB / 418.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/0.1678, allocations: 0.8443 MB / 419.6 MB, free: 10.45 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.005844/0.1736, allocations: 3.451 MB / 423 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/0.1747, allocations: 0.657 MB / 423.7 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.1753, allocations: 370.3 kB / 424.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00293/0.1783, allocations: 2.043 MB / 426.1 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.1783, allocations: 43.06 kB / 426.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.114e-06/0.1783, allocations: 0 / 426.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.007084/0.1854, allocations: 2.853 MB / 429 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.1855, allocations: 85.61 kB / 429.1 MB, free: 464 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000933/0.1864, allocations: 0.6877 MB / 429.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.095e-05/0.1865, allocations: 41.64 kB / 429.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000294/0.1868, allocations: 341 kB / 430.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.187, allocations: 238 kB / 430.4 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/0.1873, allocations: 154.6 kB / 430.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002011/0.1875, allocations: 386.8 kB / 430.9 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006219/0.1882, allocations: 368.6 kB / 431.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007565/0.1889, allocations: 0.523 MB / 431.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.1903, allocations: 0.8638 MB / 432.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.1903, allocations: 0 / 432.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002146/0.1924, allocations: 1.169 MB / 433.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.1925, allocations: 4 kB / 433.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.1925, allocations: 11.94 kB / 433.8 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/0.1938, allocations: 444.6 kB / 434.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/0.1945, allocations: 163.8 kB / 434.4 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.1958, allocations: 1.025 MB / 435.5 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/0.1964, allocations: 32.02 kB / 435.5 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.027e-05/0.1965, allocations: 36 kB / 435.5 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008865/0.1973, allocations: 0.533 MB / 436.1 MB, free: 9.273 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007252/0.1981, allocations: 0.5159 MB / 436.6 MB, free: 8.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001282/0.1994, allocations: 0.8373 MB / 437.4 MB, free: 7.793 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/0.1994, allocations: 4 kB / 437.4 MB, free: 7.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001923/0.2013, allocations: 1.107 MB / 438.5 MB, free: 6.672 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.2013, allocations: 4 kB / 438.5 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.2014, allocations: 8 kB / 438.5 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007265/0.2021, allocations: 308.8 kB / 438.8 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006519/0.2028, allocations: 163.8 kB / 439 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.2038, allocations: 0.9112 MB / 439.9 MB, free: 5.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.2044, allocations: 32.03 kB / 439.9 MB, free: 5.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/0.2045, allocations: 39.98 kB / 440 MB, free: 5.188 MB / 366.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.0002959/0.2048, allocations: 232.1 kB / 440.2 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.2049, allocations: 87.42 kB / 440.3 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.207, allocations: 1.087 MB / 441.4 MB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.207, allocations: 8 kB / 441.4 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.207, allocations: 0 / 441.4 MB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/0.2071, allocations: 7.922 kB / 441.4 MB, free: 3.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003169/0.2102, allocations: 1.993 MB / 443.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.2103, allocations: 0 / 443.4 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.2109, allocations: 123.8 kB / 443.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001164/0.212, allocations: 444.5 kB / 443.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-05/0.2121, allocations: 23.98 kB / 444 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001278/0.2134, allocations: 1.036 MB / 445 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2134, allocations: 0 / 445 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.216, allocations: 1.597 MB / 446.6 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004811/0.2165, allocations: 252.5 kB / 446.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.2167, allocations: 8 kB / 446.9 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006176/0.2174, allocations: 43.91 kB / 446.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.2175, allocations: 56.58 kB / 446.9 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.822e-05/0.2176, allocations: 27.97 kB / 447 MB, free: 14.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007219/0.2183, allocations: 483 kB / 447.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2183, allocations: 0 / 447.4 MB, free: 13.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001776/0.2201, allocations: 0.5809 MB / 448 MB, free: 12.99 MB / 382.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.004298/0.2244, allocations: 2.53 MB / 450.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003238/0.2277, allocations: 1.407 MB / 452 MB, free: 9.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.2277, allocations: 4 kB / 452 MB, free: 9.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.2288, allocations: 472.9 kB / 452.4 MB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.2309, allocations: 394 kB / 452.8 MB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/0.2446, allocations: 7.761 MB / 460.6 MB, free: 200 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1866/0.4312, allocations: 0.996 MB / 461.6 MB, free: 73.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001378/0.4326, allocations: 300.9 kB / 461.9 MB, free: 73.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005381/0.4332, allocations: 280.1 kB / 462.1 MB, free: 73.69 MB / 382.1 MB Notification: Performance of SimCode: time 1.432e-06/0.4332, allocations: 0.6875 kB / 462.1 MB, free: 73.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06458/0.4978, allocations: 30.84 MB / 493 MB, free: 54.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.88, allocations: 0 / 493 MB, free: 54.54 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Fluid_Examples_Tanks_EmptyTanks.fmu > Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.457828441052698] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank2.level', 'tank2.ports[1].m_flow'] 13.98465945397038 13.997526663 13.836293435 Calling exit ...