Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.00141/0.00141, allocations: 122.6 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.001472/0.001472, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.12 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.PumpAndValve,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",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.002992/0.002992, allocations: 67.84 kB / 373.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1135, allocations: 53.32 MB / 427 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.00575/0.1193, allocations: 4.411 MB / 431.4 MB, free: 400 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2103/0.3295, allocations: 1.234 MB / 432.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/0.33, allocations: 9.469 kB / 432.7 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000455/0.3304, allocations: 140.4 kB / 432.8 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006615/0.3311, allocations: 271.7 kB / 433.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004539/0.3315, allocations: 202.9 kB / 433.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008449/0.3324, allocations: 0.9274 MB / 434.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.3326, allocations: 166.1 kB / 434.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004214/0.3331, allocations: 387.1 kB / 434.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003791/0.3334, allocations: 400.2 kB / 435.1 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.3335, allocations: 76.12 kB / 435.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.3337, allocations: 88.22 kB / 435.3 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.3338, allocations: 169.8 kB / 435.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003165/0.3341, allocations: 412.3 kB / 435.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.3352, allocations: 0.9266 MB / 436.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3352, allocations: 1.375 kB / 436.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3352, allocations: 0 / 436.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.3352, allocations: 0 / 436.8 MB, free: 6.762 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001892/0.3371, allocations: 1.133 MB / 437.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.3371, allocations: 10.06 kB / 437.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.3373, allocations: 93.91 kB / 438 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.3375, allocations: 94.86 kB / 438.1 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006663/0.3382, allocations: 499 kB / 438.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.3383, allocations: 96.73 kB / 438.7 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.828e-05/0.3384, allocations: 49.81 kB / 438.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.3394, allocations: 0.6662 MB / 439.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.3395, allocations: 0.5 kB / 439.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.3395, allocations: 23.48 kB / 439.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.3395, allocations: 10.62 kB / 439.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.3406, allocations: 448.4 kB / 439.9 MB, free: 4.875 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.00283/0.3434, allocations: 1.969 MB / 441.8 MB, free: 3.617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.3452, allocations: 0.647 MB / 442.5 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005487/0.3458, allocations: 243.1 kB / 442.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.633e-05/0.3458, allocations: 11.23 kB / 442.7 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.3459, allocations: 44.47 kB / 442.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 1.853e-06/0.3459, allocations: 0 / 442.8 MB, free: 3.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005057/0.3509, allocations: 1.478 MB / 444.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.351, allocations: 0.5677 MB / 444.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006885/0.3517, allocations: 0.5395 MB / 445.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.97e-05/0.3518, allocations: 46.98 kB / 445.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.352, allocations: 289.2 kB / 445.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.3521, allocations: 195.9 kB / 445.9 MB, free: 1.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000199/0.3523, allocations: 109.5 kB / 446 MB, free: 1.113 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.3524, allocations: 376.6 kB / 446.3 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/0.3529, allocations: 191 kB / 446.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006818/0.3536, allocations: 419.2 kB / 446.9 MB, free: 412 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.3547, allocations: 487 kB / 447.4 MB, free: 164 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3547, allocations: 2.5 kB / 447.4 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002448/0.3571, allocations: 0.8053 MB / 448.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.3572, allocations: 34.19 kB / 448.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3572, allocations: 1.094 kB / 448.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.3583, allocations: 224.2 kB / 448.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008042/0.3591, allocations: 128.7 kB / 448.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008421/0.3675, allocations: 5.611 MB / 454.2 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009234/0.3684, allocations: 76.67 kB / 454.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.3685, allocations: 18.61 kB / 454.3 MB, free: 10.79 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003952/0.3689, allocations: 201.1 kB / 454.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.369, allocations: 76.59 kB / 454.6 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/0.3716, allocations: 0.7659 MB / 455.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.3716, allocations: 9.438 kB / 455.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.3716, allocations: 0 / 455.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00243/0.374, allocations: 1.034 MB / 456.4 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003787/0.3778, allocations: 1.508 MB / 457.9 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3778, allocations: 0 / 457.9 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007778/0.3786, allocations: 126.7 kB / 458 MB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008662/0.3794, allocations: 184.9 kB / 458.2 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.3795, allocations: 9.344 kB / 458.2 MB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006236/0.3857, allocations: 3.799 MB / 462 MB, free: 5.383 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.3857, allocations: 6.688 kB / 462 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/0.389, allocations: 1.074 MB / 463.1 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004212/0.3894, allocations: 203.9 kB / 463.3 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.127e-05/0.3895, allocations: 13.09 kB / 463.3 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005902/0.3901, allocations: 45.3 kB / 463.4 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.3902, allocations: 38.22 kB / 463.4 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.835e-05/0.3903, allocations: 21.95 kB / 463.4 MB, free: 4.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005349/0.3908, allocations: 385.2 kB / 463.8 MB, free: 4.297 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3908, allocations: 4 kB / 463.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000833/0.3916, allocations: 218.9 kB / 464 MB, free: 4.262 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003485/0.3951, allocations: 1.633 MB / 465.6 MB, free: 3.094 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002692/0.3978, allocations: 1.013 MB / 466.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.3978, allocations: 1.875 kB / 466.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.3989, allocations: 0.5124 MB / 467.2 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009668/0.3998, allocations: 187.3 kB / 467.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/0.4116, allocations: 6.041 MB / 473.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005859/0.4122, allocations: 0.89 MB / 474.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004402/0.4127, allocations: 83.31 kB / 474.4 MB, free: 13.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003329/0.413, allocations: 235.5 kB / 474.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.413, allocations: 2.719 kB / 474.6 MB, free: 13.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06379/0.4768, allocations: 20.32 MB / 494.9 MB, free: 10.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.18, allocations: 15.03 kB / 494.9 MB, free: 10.58 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_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_PumpAndValve.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.749758555088192] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T', 'speed.phi'] 14.287543919868767 14.301785908 13.96240051 Calling exit ...