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.001653/0.001653, allocations: 120 kB / 18.5 MB, free: 4.52 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.001866/0.001866, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.476/1.476, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.001954/0.001954, allocations: 75.81 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1067, allocations: 53.33 MB / 427 MB, free: 4.781 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.2296/0.3363, allocations: 4.861 MB / 431.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002604/0.3389, allocations: 1.386 MB / 433.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003079/0.3392, allocations: 15.78 kB / 433.3 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003911/0.3396, allocations: 157.7 kB / 433.4 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006391/0.3403, allocations: 339 kB / 433.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004343/0.3407, allocations: 215.6 kB / 434 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000883/0.3416, allocations: 1.026 MB / 435 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.3419, allocations: 200.5 kB / 435.2 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005535/0.3424, allocations: 420 kB / 435.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004408/0.3429, allocations: 456.2 kB / 436 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.343, allocations: 87.25 kB / 436.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.3431, allocations: 90.84 kB / 436.2 MB, free: 6.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.3433, allocations: 194.4 kB / 436.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.3437, allocations: 472.2 kB / 436.9 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.3449, allocations: 1.085 MB / 438 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3449, allocations: 1.016 kB / 438 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3449, allocations: 5.062 kB / 438 MB, free: 6.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.3449, allocations: 0 / 438 MB, free: 6.344 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.002197/0.3471, allocations: 1.238 MB / 439.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.3471, allocations: 9.438 kB / 439.2 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.3473, allocations: 111.8 kB / 439.3 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.3475, allocations: 103.5 kB / 439.4 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007768/0.3483, allocations: 0.5292 MB / 439.9 MB, free: 4.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.3484, allocations: 100.2 kB / 440 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.519e-05/0.3485, allocations: 59.47 kB / 440.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.3498, allocations: 0.8109 MB / 440.9 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.3498, allocations: 2.047 kB / 440.9 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.37e-05/0.3499, allocations: 27.66 kB / 440.9 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.3499, allocations: 13.34 kB / 441 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.3512, allocations: 0.5096 MB / 441.5 MB, free: 4.137 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.003284/0.3544, allocations: 2.169 MB / 443.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00135/0.3558, allocations: 0.4892 MB / 444.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006019/0.3564, allocations: 232.3 kB / 444.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.055e-05/0.3564, allocations: 16.41 kB / 444.4 MB, free: 2.469 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007694/0.3572, allocations: 327.4 kB / 444.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.815e-06/0.3572, allocations: 0 / 444.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.00503/0.3622, allocations: 1.475 MB / 446.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/0.3624, allocations: 0.8336 MB / 447 MB, free: 0.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007505/0.3632, allocations: 0.5872 MB / 447.6 MB, free: 488 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.47e-05/0.3632, allocations: 40.58 kB / 447.6 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.3635, allocations: 353 kB / 448 MB, free: 160 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.3636, allocations: 193.2 kB / 448.2 MB, free: 8 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003073/0.3639, allocations: 136.7 kB / 448.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002255/0.3641, allocations: 376 kB / 448.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006245/0.3648, allocations: 215.6 kB / 448.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009411/0.3657, allocations: 0.5186 MB / 449.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.367, allocations: 0.5675 MB / 450 MB, free: 14.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.367, allocations: 1.375 kB / 450 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002484/0.3695, allocations: 0.8918 MB / 450.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.577e-05/0.3695, allocations: 60.05 kB / 450.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3696, allocations: 2.281 kB / 450.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000761/0.3703, allocations: 216.7 kB / 451.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006346/0.371, allocations: 118.6 kB / 451.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007166/0.3781, allocations: 4.601 MB / 455.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.3792, allocations: 86.72 kB / 455.9 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/0.3792, allocations: 22.23 kB / 455.9 MB, free: 10.53 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.000422/0.3796, allocations: 212.7 kB / 456.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.3798, allocations: 84.72 kB / 456.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.3799, allocations: 82.78 kB / 456.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3799, allocations: 5.5 kB / 456.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.38, allocations: 1.891 kB / 456.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002178/0.3821, allocations: 1.043 MB / 457.4 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.3851, allocations: 1.543 MB / 458.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3851, allocations: 0 / 458.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006306/0.3857, allocations: 110.9 kB / 459 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006143/0.3863, allocations: 168.2 kB / 459.2 MB, free: 8.633 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3864, allocations: 12.67 kB / 459.2 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005427/0.3918, allocations: 3.948 MB / 463.1 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3918, allocations: 3.469 kB / 463.1 MB, free: 5.035 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002637/0.3944, allocations: 1.016 MB / 464.2 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004556/0.3949, allocations: 230.2 kB / 464.4 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.395, allocations: 13.25 kB / 464.4 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000591/0.3956, allocations: 43.11 kB / 464.4 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.3957, allocations: 53.83 kB / 464.5 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.3958, allocations: 17.91 kB / 464.5 MB, free: 4.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005957/0.3964, allocations: 418.1 kB / 464.9 MB, free: 3.922 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3964, allocations: 0 / 464.9 MB, free: 3.922 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009569/0.3973, allocations: 257.8 kB / 465.2 MB, free: 3.879 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.002813/0.4001, allocations: 1.587 MB / 466.8 MB, free: 2.734 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002285/0.4024, allocations: 0.9955 MB / 467.7 MB, free: 2.047 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.4024, allocations: 6.344 kB / 467.8 MB, free: 2.043 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001042/0.4035, allocations: 0.5179 MB / 468.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009978/0.4045, allocations: 214.8 kB / 468.5 MB, free: 1.555 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.4152, allocations: 6.11 MB / 474.6 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.4158, allocations: 0.9252 MB / 475.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004967/0.4163, allocations: 81.81 kB / 475.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003904/0.4167, allocations: 266.2 kB / 475.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4167, allocations: 4 kB / 475.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09313/0.5099, allocations: 22.94 MB / 498.8 MB, free: 6.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/13.75, allocations: 0 / 498.8 MB, free: 6.93 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 16.243178935255855] Failed to read output from testmodel.py, exit status != 0: ['time', 'speed.phi'] 13.858135928865522 13.877457772 13.528148664 Calling exit ...