Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.001412/0.001412, allocations: 105 kB / 19.74 MB, free: 2.453 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.001533/0.001533, allocations: 216.8 kB / 22.92 MB, free: 5.195 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.304/1.304, allocations: 230.5 MB / 256.4 MB, free: 8.254 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.PumpDropOut,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",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.001812/0.001812, allocations: 75.88 kB / 376.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2202, allocations: 53.3 MB / 429.4 MB, free: 7.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004917/0.2251, allocations: 3.802 MB / 433.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.2267, allocations: 1.036 MB / 434.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.2268, allocations: 4 kB / 434.2 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.2271, allocations: 111 kB / 434.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004105/0.2275, allocations: 214.2 kB / 434.5 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002508/0.2278, allocations: 131.8 kB / 434.7 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007696/0.2285, allocations: 0.7115 MB / 435.4 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002469/0.2288, allocations: 146.6 kB / 435.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.2291, allocations: 267 kB / 435.8 MB, free: 1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003662/0.2294, allocations: 310.6 kB / 436.1 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.643e-05/0.2295, allocations: 60 kB / 436.1 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2296, allocations: 60 kB / 436.2 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.2298, allocations: 127.6 kB / 436.3 MB, free: 464 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.23, allocations: 326.4 kB / 436.7 MB, free: 136 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006896/0.2307, allocations: 0.7164 MB / 437.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.2307, allocations: 0 / 437.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2307, allocations: 0 / 437.4 MB, free: 15.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.2307, allocations: 7.938 kB / 437.4 MB, free: 15.41 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001567/0.2323, allocations: 0.9322 MB / 438.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2323, allocations: 8.031 kB / 438.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/0.2325, allocations: 87.66 kB / 438.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.2326, allocations: 64.56 kB / 438.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006911/0.2333, allocations: 447.1 kB / 438.9 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.2334, allocations: 59.27 kB / 439 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-05/0.2334, allocations: 44.36 kB / 439 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008421/0.2343, allocations: 0.5058 MB / 439.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2343, allocations: 0 / 439.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/0.2343, allocations: 20 kB / 439.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.2343, allocations: 8 kB / 439.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008248/0.2352, allocations: 355.8 kB / 439.9 MB, free: 12.74 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.002052/0.2372, allocations: 1.363 MB / 441.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008611/0.2381, allocations: 435 kB / 441.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004013/0.2385, allocations: 172.8 kB / 441.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.314e-05/0.2385, allocations: 7.984 kB / 441.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.2385, allocations: 42.31 kB / 441.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.433e-06/0.2385, allocations: 0 / 441.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001582/0.2401, allocations: 0.7476 MB / 442.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002433/0.2404, allocations: 452.9 kB / 443.1 MB, free: 9.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005334/0.2409, allocations: 474 kB / 443.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.2409, allocations: 33.7 kB / 443.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000197/0.2411, allocations: 248.6 kB / 443.8 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.2413, allocations: 138.8 kB / 444 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001325/0.2414, allocations: 81.64 kB / 444 MB, free: 8.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.2416, allocations: 362.8 kB / 444.4 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.2419, allocations: 143.9 kB / 444.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.2424, allocations: 290.4 kB / 444.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000767/0.2432, allocations: 350.6 kB / 445.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2432, allocations: 7.938 kB / 445.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00101/0.2442, allocations: 0.4883 MB / 445.6 MB, free: 6.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.2443, allocations: 36.52 kB / 445.7 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.2443, allocations: 3.984 kB / 445.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001653/0.2444, allocations: 61.66 kB / 445.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.2448, allocations: 87.88 kB / 445.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/0.2474, allocations: 2.954 MB / 448.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.2478, allocations: 55.75 kB / 448.8 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.2478, allocations: 12 kB / 448.9 MB, free: 3.066 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002179/0.248, allocations: 177.8 kB / 449 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.102e-05/0.2481, allocations: 55.67 kB / 449.1 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.2482, allocations: 56.88 kB / 449.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.2482, allocations: 4 kB / 449.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2482, allocations: 0 / 449.1 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009905/0.2492, allocations: 0.7437 MB / 449.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.2509, allocations: 1.048 MB / 450.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2509, allocations: 0 / 450.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.2513, allocations: 91.88 kB / 451 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.2513, allocations: 4 kB / 451 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.2513, allocations: 8 kB / 451 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.146e-06/0.2513, allocations: 11.98 kB / 451 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2513, allocations: 0 / 451 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.2526, allocations: 0.6724 MB / 451.7 MB, free: 0 / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.2528, allocations: 172.7 kB / 451.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.879e-05/0.2529, allocations: 12 kB / 451.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.2532, allocations: 27.97 kB / 451.9 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/0.2533, allocations: 27.95 kB / 452 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.2533, allocations: 12.06 kB / 452 MB, free: 15.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003761/0.2537, allocations: 338.9 kB / 452.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2537, allocations: 0 / 452.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004324/0.2541, allocations: 147.8 kB / 452.4 MB, free: 15.26 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.001597/0.2557, allocations: 1.224 MB / 453.7 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.2569, allocations: 0.6487 MB / 454.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2569, allocations: 4 kB / 454.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.2573, allocations: 176.2 kB / 454.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006289/0.2579, allocations: 137.9 kB / 454.6 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/0.2646, allocations: 4.667 MB / 459.3 MB, free: 8.234 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.265, allocations: 0.8351 MB / 460.1 MB, free: 7.371 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002305/0.2652, allocations: 68.53 kB / 460.2 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.2655, allocations: 183.4 kB / 460.4 MB, free: 7.121 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2655, allocations: 0 / 460.4 MB, free: 7.121 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04584/0.3113, allocations: 14.08 MB / 474.5 MB, free: 9.309 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.13, allocations: 11.08 kB / 474.5 MB, free: 9.305 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.254034696001327]