Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.001242/0.001242, allocations: 105 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.001324/0.001324, allocations: 217 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.293/1.293, allocations: 230.5 MB / 256.4 MB, free: 8.418 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.WaterPump,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",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.001759/0.001759, allocations: 63.91 kB / 376.1 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2106, allocations: 53.32 MB / 429.4 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005575/0.2162, allocations: 4.884 MB / 434.3 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002042/0.2182, allocations: 1.395 MB / 435.7 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001886/0.2184, allocations: 7.938 kB / 435.7 MB, free: 1.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.2188, allocations: 158.7 kB / 435.8 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005696/0.2194, allocations: 345.4 kB / 436.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.2197, allocations: 215.6 kB / 436.4 MB, free: 404 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009747/0.2207, allocations: 1.026 MB / 437.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002985/0.221, allocations: 206 kB / 437.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004698/0.2215, allocations: 414.6 kB / 438 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005355/0.222, allocations: 450.1 kB / 438.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.2221, allocations: 88 kB / 438.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.2223, allocations: 92 kB / 438.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.2225, allocations: 195.3 kB / 438.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004326/0.2229, allocations: 473.8 kB / 439.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.2239, allocations: 1.081 MB / 440.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2239, allocations: 7.875 kB / 440.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2239, allocations: 0 / 440.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.224, allocations: 0 / 440.4 MB, free: 12.38 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002119/0.2261, allocations: 1.243 MB / 441.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2261, allocations: 12.03 kB / 441.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.2263, allocations: 107.9 kB / 441.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001738/0.2264, allocations: 108.4 kB / 441.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007515/0.2272, allocations: 0.5207 MB / 442.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.2273, allocations: 105.3 kB / 442.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.612e-05/0.2274, allocations: 52.38 kB / 442.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.2288, allocations: 0.801 MB / 443.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.2288, allocations: 4 kB / 443.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/0.2288, allocations: 28 kB / 443.4 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.2288, allocations: 15.98 kB / 443.4 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.23, allocations: 0.5086 MB / 443.9 MB, free: 8.645 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.003168/0.2332, allocations: 2.168 MB / 446 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.2344, allocations: 0.4901 MB / 446.5 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/0.2351, allocations: 226.4 kB / 446.8 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.297e-05/0.2351, allocations: 25.62 kB / 446.8 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007038/0.2358, allocations: 323 kB / 447.1 MB, free: 5.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 5.28e-06/0.2358, allocations: 3.984 kB / 447.1 MB, free: 5.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004779/0.2406, allocations: 1.474 MB / 448.6 MB, free: 3.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003921/0.241, allocations: 0.8272 MB / 449.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006727/0.2417, allocations: 0.5862 MB / 450 MB, free: 2.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.806e-05/0.2417, allocations: 41.7 kB / 450 MB, free: 2.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.242, allocations: 349.1 kB / 450.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.2422, allocations: 206.2 kB / 450.6 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002003/0.2424, allocations: 130.2 kB / 450.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2425, allocations: 378.8 kB / 451.1 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/0.2431, allocations: 209 kB / 451.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008077/0.2439, allocations: 0.5247 MB / 451.8 MB, free: 156 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.245, allocations: 0.5615 MB / 452.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.245, allocations: 0 / 452.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002127/0.2472, allocations: 0.9016 MB / 453.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.812e-05/0.2472, allocations: 59.41 kB / 453.3 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.2472, allocations: 4 kB / 453.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006704/0.2479, allocations: 217.6 kB / 453.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.2485, allocations: 115.8 kB / 453.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006373/0.2549, allocations: 4.601 MB / 458.2 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006592/0.2555, allocations: 79.56 kB / 458.3 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.2556, allocations: 23.98 kB / 458.3 MB, free: 9.238 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * 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 {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0003064/0.2559, allocations: 213.8 kB / 458.6 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/0.256, allocations: 83.47 kB / 458.6 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.2561, allocations: 86.84 kB / 458.7 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2561, allocations: 4 kB / 458.7 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.2561, allocations: 0 / 458.7 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002029/0.2582, allocations: 1.043 MB / 459.8 MB, free: 7.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/0.2607, allocations: 1.547 MB / 461.3 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2607, allocations: 0 / 461.3 MB, free: 6.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005804/0.2613, allocations: 107.9 kB / 461.4 MB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005228/0.2618, allocations: 169.6 kB / 461.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.2618, allocations: 8 kB / 461.6 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004869/0.2667, allocations: 3.949 MB / 465.5 MB, free: 1.551 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2667, allocations: 3.938 kB / 465.5 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.269, allocations: 1.02 MB / 466.6 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.2692, allocations: 212.5 kB / 466.8 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.207e-05/0.2693, allocations: 20.19 kB / 466.8 MB, free: 260 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000565/0.2699, allocations: 52.02 kB / 466.8 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.27, allocations: 48.48 kB / 466.9 MB, free: 160 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-05/0.27, allocations: 16 kB / 466.9 MB, free: 144 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004869/0.2705, allocations: 419.1 kB / 467.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2705, allocations: 0 / 467.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007366/0.2713, allocations: 255.8 kB / 467.6 MB, free: 15.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002553/0.2738, allocations: 1.588 MB / 469.2 MB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.2757, allocations: 0.992 MB / 470.1 MB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.2757, allocations: 4 kB / 470.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009481/0.2767, allocations: 0.5237 MB / 470.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007903/0.2775, allocations: 207.3 kB / 470.9 MB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009817/0.2873, allocations: 6.132 MB / 477 MB, free: 5.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.2878, allocations: 0.916 MB / 477.9 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003097/0.2882, allocations: 89.2 kB / 478 MB, free: 4.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003457/0.2885, allocations: 263.3 kB / 478.3 MB, free: 4.48 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.2885, allocations: 0 / 478.3 MB, free: 4.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0551/0.3436, allocations: 23.03 MB / 0.4896 GB, free: 13.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.89, allocations: 10.56 kB / 0.4896 GB, free: 13.81 MB / 414.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.022659820999252]