Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.001154/0.001154, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001214/0.001214, allocations: 222.1 kB / 22.92 MB, free: 5.559 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.29/1.29, allocations: 230.5 MB / 256.4 MB, free: 8.289 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.TestOpenTank,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",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.001786/0.001786, allocations: 71.88 kB / 376.1 MB, free: 4.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2173, allocations: 53.32 MB / 429.4 MB, free: 7.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004142/0.2215, allocations: 2.898 MB / 432.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.2237, allocations: 1.422 MB / 433.7 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.2238, allocations: 4 kB / 433.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004677/0.2243, allocations: 183.1 kB / 433.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005019/0.2248, allocations: 254.6 kB / 434.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002893/0.225, allocations: 139.6 kB / 434.3 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005479/0.2256, allocations: 461.9 kB / 434.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.2257, allocations: 63.83 kB / 434.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.226, allocations: 187.3 kB / 435 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.2263, allocations: 211.2 kB / 435.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.337e-05/0.2263, allocations: 32 kB / 435.2 MB, free: 1.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.2265, allocations: 71.92 kB / 435.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.2266, allocations: 91.62 kB / 435.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.2268, allocations: 203 kB / 435.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005358/0.2273, allocations: 494.3 kB / 436 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2273, allocations: 0 / 436 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.2273, allocations: 0 / 436 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.2273, allocations: 0 / 436 MB, free: 0.7969 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001075/0.2284, allocations: 0.7159 MB / 436.8 MB, free: 32 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2284, allocations: 8.031 kB / 436.8 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001093/0.2285, allocations: 67.16 kB / 436.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.498e-05/0.2286, allocations: 52.59 kB / 436.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.2291, allocations: 354.9 kB / 437.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.2291, allocations: 12.81 kB / 437.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.2291, allocations: 23.94 kB / 437.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004675/0.2296, allocations: 305.5 kB / 437.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.2296, allocations: 3.938 kB / 437.6 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.2297, allocations: 8 kB / 437.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2297, allocations: 4 kB / 437.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.2299, allocations: 153.7 kB / 437.7 MB, free: 14.97 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.001243/0.2312, allocations: 0.8363 MB / 438.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.2316, allocations: 186.3 kB / 438.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001462/0.2317, allocations: 72.83 kB / 438.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.2317, allocations: 7.938 kB / 438.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.232, allocations: 135.3 kB / 439 MB, free: 13.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.232, allocations: 0 / 439 MB, free: 13.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008383/0.2328, allocations: 406 kB / 439.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001714/0.233, allocations: 320.4 kB / 439.7 MB, free: 12.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.2335, allocations: 437.7 kB / 440.1 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.2335, allocations: 33.7 kB / 440.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.2337, allocations: 208.4 kB / 440.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.11e-05/0.2337, allocations: 87.27 kB / 440.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.338e-05/0.2338, allocations: 53.7 kB / 440.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.234, allocations: 354.8 kB / 440.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.2341, allocations: 59.97 kB / 440.9 MB, free: 11.6 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.2343, allocations: 183.9 kB / 441.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/0.2347, allocations: 172.1 kB / 441.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2347, allocations: 3.938 kB / 441.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004418/0.2351, allocations: 270.1 kB / 441.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2351, allocations: 12.09 kB / 441.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2351, allocations: 0 / 441.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001212/0.2353, allocations: 32.84 kB / 441.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.2355, allocations: 55.91 kB / 441.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.237, allocations: 1.567 MB / 443.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.2372, allocations: 27.83 kB / 443.2 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.2372, allocations: 8 kB / 443.2 MB, free: 9.066 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: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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 {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.2374, allocations: 165.8 kB / 443.4 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.2374, allocations: 51.66 kB / 443.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004934/0.2379, allocations: 265.9 kB / 443.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2379, allocations: 4 kB / 443.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.2379, allocations: 0 / 443.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005088/0.2385, allocations: 0.5783 MB / 444.3 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008655/0.2393, allocations: 0.7081 MB / 445 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.2393, allocations: 4 kB / 445 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.2395, allocations: 47.95 kB / 445 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2395, allocations: 4 kB / 445 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.2395, allocations: 8.094 kB / 445 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2395, allocations: 3.938 kB / 445 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2395, allocations: 7.938 kB / 445 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005935/0.2401, allocations: 402.8 kB / 445.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.2403, allocations: 144.8 kB / 445.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.2403, allocations: 12 kB / 445.6 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002002/0.2405, allocations: 11.98 kB / 445.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.2406, allocations: 11.98 kB / 445.6 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.2406, allocations: 8 kB / 445.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003169/0.2409, allocations: 319.1 kB / 445.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2409, allocations: 0 / 445.9 MB, free: 6.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003938/0.2413, allocations: 99.88 kB / 446 MB, free: 6.031 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002094/0.2434, allocations: 1.255 MB / 447.3 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005897/0.244, allocations: 302.5 kB / 447.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.244, allocations: 0 / 447.6 MB, free: 4.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.2441, allocations: 76.11 kB / 447.6 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.2446, allocations: 101.3 kB / 447.7 MB, free: 4.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.2489, allocations: 3.395 MB / 451.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004073/0.2493, allocations: 0.8104 MB / 452 MB, free: 100 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.2495, allocations: 46.94 kB / 452 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.2496, allocations: 123.5 kB / 452.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2496, allocations: 4 kB / 452.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.2873, allocations: 10.32 MB / 462.4 MB, free: 5.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.94, allocations: 13.88 kB / 462.5 MB, free: 5.742 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.048776133000501]