Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.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.001144/0.001144, allocations: 105.8 kB / 19.74 MB, free: 2.566 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.001262/0.001262, allocations: 216.4 kB / 22.92 MB, free: 5.535 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.286/1.286, allocations: 230.5 MB / 256.4 MB, free: 8.422 MB / 206.1 MB " [Timeout remaining time 179] 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.TwoTanks,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks",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.00179/0.00179, allocations: 71.86 kB / 376.1 MB, free: 4.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2104, allocations: 53.32 MB / 429.4 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks): time 0.003523/0.2139, allocations: 2.78 MB / 432.2 MB, free: 4.656 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.2151, allocations: 0.8646 MB / 433 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.2152, allocations: 7.938 kB / 433 MB, free: 3.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.2155, allocations: 75.41 kB / 433.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002413/0.2157, allocations: 142.9 kB / 433.3 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.2159, allocations: 87.83 kB / 433.3 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004667/0.2164, allocations: 438.4 kB / 433.8 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.2165, allocations: 59.39 kB / 433.8 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.2167, allocations: 159.4 kB / 434 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002418/0.2169, allocations: 183.2 kB / 434.2 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.585e-05/0.217, allocations: 32 kB / 434.2 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.708e-05/0.217, allocations: 36 kB / 434.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.16e-05/0.2171, allocations: 83.67 kB / 434.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.2173, allocations: 191.1 kB / 434.5 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004393/0.2177, allocations: 442.7 kB / 434.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2177, allocations: 4 kB / 434.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2177, allocations: 4 kB / 434.9 MB, free: 1.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.2178, allocations: 0 / 434.9 MB, free: 1.875 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001018/0.2188, allocations: 0.6793 MB / 435.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.2188, allocations: 12.03 kB / 435.6 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.001e-05/0.2189, allocations: 71.22 kB / 435.7 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.508e-05/0.219, allocations: 48.66 kB / 435.7 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.2193, allocations: 311.6 kB / 436 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.352e-05/0.2194, allocations: 42.83 kB / 436.1 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.2195, allocations: 24.38 kB / 436.1 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005125/0.22, allocations: 335.3 kB / 436.4 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.22, allocations: 3.953 kB / 436.4 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.22, allocations: 12 kB / 436.5 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.22, allocations: 8 kB / 436.5 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004211/0.2205, allocations: 218.1 kB / 436.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.2218, allocations: 0.811 MB / 437.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005447/0.2223, allocations: 255 kB / 437.7 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.2225, allocations: 104.9 kB / 437.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.2225, allocations: 15.88 kB / 437.9 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.2226, allocations: 38.56 kB / 437.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.243e-06/0.2226, allocations: 0 / 437.9 MB, free: 14.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009677/0.2235, allocations: 487.3 kB / 438.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001474/0.2237, allocations: 320.4 kB / 438.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.2239, allocations: 279 kB / 439 MB, free: 13.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.224, allocations: 33.7 kB / 439 MB, free: 13.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.2241, allocations: 180.7 kB / 439.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.511e-05/0.2242, allocations: 111 kB / 439.3 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.2243, allocations: 69.69 kB / 439.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.2244, allocations: 342.8 kB / 439.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.2246, allocations: 95.95 kB / 439.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.2249, allocations: 212.2 kB / 440 MB, free: 12.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004323/0.2254, allocations: 267.5 kB / 440.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2254, allocations: 0 / 440.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006052/0.226, allocations: 373.8 kB / 440.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.226, allocations: 29.7 kB / 440.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.226, allocations: 0 / 440.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001352/0.2261, allocations: 36.84 kB / 440.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009191/0.2271, allocations: 163.8 kB / 440.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003566/0.2306, allocations: 3.234 MB / 444.1 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.2309, allocations: 31.88 kB / 444.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.2309, allocations: 12 kB / 444.1 MB, free: 7.984 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001627/0.231, allocations: 155.2 kB / 444.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.2311, allocations: 39.81 kB / 444.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.547e-05/0.2312, allocations: 39.08 kB / 444.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2312, allocations: 0 / 444.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2312, allocations: 11.88 kB / 444.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006654/0.2319, allocations: 0.6423 MB / 445 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.2323, allocations: 393.3 kB / 445.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2323, allocations: 0 / 445.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.2335, allocations: 207.7 kB / 445.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.481e-05/0.2335, allocations: 28.84 kB / 445.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.2336, allocations: 4 kB / 445.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/0.2366, allocations: 3.045 MB / 448.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2366, allocations: 3.938 kB / 448.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007746/0.2374, allocations: 0.5092 MB / 449.2 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.2376, allocations: 140.8 kB / 449.3 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.2376, allocations: 12.06 kB / 449.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.2379, allocations: 19.92 kB / 449.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.2379, allocations: 23.97 kB / 449.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.2379, allocations: 8 kB / 449.4 MB, free: 2.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001899/0.2381, allocations: 209.9 kB / 449.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2381, allocations: 0 / 449.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000383/0.2385, allocations: 107.9 kB / 449.7 MB, free: 1.926 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001091/0.2396, allocations: 1.057 MB / 450.7 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.241, allocations: 0.5256 MB / 451.3 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.241, allocations: 0 / 451.3 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.2423, allocations: 394.3 kB / 451.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.2428, allocations: 92.89 kB / 451.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004472/0.2473, allocations: 3.409 MB / 455.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.2476, allocations: 0.7799 MB / 455.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.2478, allocations: 34.97 kB / 456 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.2479, allocations: 107.4 kB / 456.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2479, allocations: 0 / 456.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04816/0.2961, allocations: 9.7 MB / 465.8 MB, free: 1.848 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/10.81, allocations: 10.61 kB / 465.8 MB, free: 1.84 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.937391180996201]