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.001551/0.001551, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.00165/0.00165, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.443/1.443, allocations: 230.5 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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.001938/0.001938, allocations: 68.06 kB / 373.6 MB, free: 10.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.1016, allocations: 53.31 MB / 426.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.1827/0.2842, allocations: 4.866 MB / 431.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002403/0.2866, allocations: 1.384 MB / 433.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.2869, allocations: 6.844 kB / 433.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003274/0.2872, allocations: 163.9 kB / 433.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005375/0.2877, allocations: 343.7 kB / 433.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.2881, allocations: 215.3 kB / 433.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007713/0.2889, allocations: 1.024 MB / 434.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002627/0.2891, allocations: 200.2 kB / 435.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000419/0.2896, allocations: 416.1 kB / 435.5 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003992/0.29, allocations: 449.9 kB / 435.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.2901, allocations: 88.41 kB / 436 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.2902, allocations: 89.5 kB / 436.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.2904, allocations: 193.5 kB / 436.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.2908, allocations: 478.8 kB / 436.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.292, allocations: 1.078 MB / 437.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.292, allocations: 1.516 kB / 437.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.292, allocations: 4 kB / 437.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.577e-05/0.292, allocations: 0 / 437.8 MB, free: 6.371 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.002139/0.2941, allocations: 1.239 MB / 439.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.2942, allocations: 13.66 kB / 439.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001601/0.2944, allocations: 115.5 kB / 439.2 MB, free: 5.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/0.2945, allocations: 101.9 kB / 439.3 MB, free: 5.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00079/0.2953, allocations: 0.5246 MB / 439.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/0.2954, allocations: 100.4 kB / 439.9 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.286e-05/0.2955, allocations: 53.62 kB / 440 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.2967, allocations: 0.8175 MB / 440.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.2967, allocations: 0 / 440.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.81e-05/0.2968, allocations: 25.44 kB / 440.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.2968, allocations: 12.44 kB / 440.8 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.298, allocations: 0.5138 MB / 441.3 MB, free: 4.16 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.003189/0.3011, allocations: 2.172 MB / 443.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.3024, allocations: 494.4 kB / 444 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005285/0.303, allocations: 236.2 kB / 444.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/0.303, allocations: 16.36 kB / 444.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006854/0.3037, allocations: 327.7 kB / 444.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.274e-06/0.3037, allocations: 0 / 444.5 MB, free: 2.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004691/0.3084, allocations: 1.478 MB / 446 MB, free: 1.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001483/0.3085, allocations: 0.8254 MB / 446.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000713/0.3093, allocations: 0.5873 MB / 447.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.339e-05/0.3093, allocations: 45.84 kB / 447.5 MB, free: 468 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.3095, allocations: 347.9 kB / 447.8 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.3097, allocations: 194.8 kB / 448 MB, free: 32 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.3099, allocations: 128.1 kB / 448.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002216/0.3101, allocations: 380.8 kB / 448.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005664/0.3107, allocations: 210.9 kB / 448.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008708/0.3116, allocations: 0.5218 MB / 449.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.3127, allocations: 0.5669 MB / 449.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.3128, allocations: 0 / 449.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002362/0.3151, allocations: 0.8936 MB / 450.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.754e-05/0.3152, allocations: 64.06 kB / 450.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3152, allocations: 2.281 kB / 450.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007229/0.3159, allocations: 220.2 kB / 451 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006153/0.3165, allocations: 115.9 kB / 451.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006786/0.3233, allocations: 4.594 MB / 455.7 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008486/0.3242, allocations: 87.47 kB / 455.8 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.652e-05/0.3242, allocations: 22.7 kB / 455.8 MB, free: 10.54 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.0003742/0.3246, allocations: 216.3 kB / 456 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.3247, allocations: 84.72 kB / 456.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/0.3249, allocations: 80.06 kB / 456.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3249, allocations: 5.5 kB / 456.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3249, allocations: 0 / 456.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002051/0.3269, allocations: 1.044 MB / 457.2 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0027/0.3296, allocations: 1.543 MB / 458.8 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.3296, allocations: 1.188 kB / 458.8 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/0.3302, allocations: 107.2 kB / 458.9 MB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005264/0.3307, allocations: 173.4 kB / 459 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.3308, allocations: 8.828 kB / 459 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005182/0.336, allocations: 3.957 MB / 463 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.336, allocations: 0 / 463 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.3383, allocations: 1.017 MB / 464 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/0.3388, allocations: 225 kB / 464.2 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.3389, allocations: 14.78 kB / 464.2 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005571/0.3394, allocations: 50.31 kB / 464.3 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.3396, allocations: 46.09 kB / 464.3 MB, free: 4.176 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.3396, allocations: 17.64 kB / 464.4 MB, free: 4.168 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005552/0.3402, allocations: 417.2 kB / 464.8 MB, free: 3.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3402, allocations: 1.75 kB / 464.8 MB, free: 3.926 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009083/0.3411, allocations: 253.9 kB / 465 MB, free: 3.887 MB / 366.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.002646/0.3437, allocations: 1.592 MB / 466.6 MB, free: 2.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002181/0.3459, allocations: 0.9996 MB / 467.6 MB, free: 2.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.3459, allocations: 6.094 kB / 467.6 MB, free: 2.043 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009973/0.3469, allocations: 0.5145 MB / 468.1 MB, free: 1.668 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.3479, allocations: 207.6 kB / 468.3 MB, free: 1.566 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.3593, allocations: 6.125 MB / 474.5 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007039/0.36, allocations: 0.9197 MB / 475.4 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005573/0.3606, allocations: 82.44 kB / 475.5 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003943/0.361, allocations: 261.5 kB / 475.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.353e-06/0.361, allocations: 7.938 kB / 475.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0621/0.4231, allocations: 22.94 MB / 498.7 MB, free: 6.957 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.47, allocations: 0 / 498.7 MB, free: 6.957 MB / 398.1 MB " [Timeout remaining time 646] (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 --stepSize=0.001 --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: 15.83674104232341] Failed to read output from testmodel.py, exit status != 0: ['time', 'speed.phi'] 13.572652614675462 13.592191355 13.296193107 Calling exit ...