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.001802/0.001802, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.002417/0.002417, allocations: 217.7 kB / 24.54 MB, free: 3.898 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.434/1.434, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.002114/0.002114, allocations: 64.75 kB / 378.5 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2583, allocations: 53.37 MB / 431.9 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.006782/0.2651, allocations: 4.423 MB / 436.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003164/0.2683, allocations: 1.263 MB / 437.6 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006889/0.269, allocations: 7.938 kB / 437.6 MB, free: 1.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006036/0.2696, allocations: 134.8 kB / 437.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.2706, allocations: 269.8 kB / 438 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007144/0.2714, allocations: 191.7 kB / 438.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001609/0.273, allocations: 0.9434 MB / 439.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000402/0.2734, allocations: 173 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008021/0.2742, allocations: 382.6 kB / 439.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000788/0.275, allocations: 398.4 kB / 440.1 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001926/0.2751, allocations: 76 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.2754, allocations: 83.94 kB / 440.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.2755, allocations: 175.4 kB / 440.4 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004538/0.276, allocations: 418.1 kB / 440.8 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001153/0.2771, allocations: 0.9296 MB / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2771, allocations: 0 / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2771, allocations: 0 / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.2772, allocations: 0 / 441.7 MB, free: 13.05 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.002275/0.2794, allocations: 1.061 MB / 442.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.2795, allocations: 8.031 kB / 442.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001617/0.2796, allocations: 91.7 kB / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002787/0.2799, allocations: 100.4 kB / 443 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008738/0.2808, allocations: 427.2 kB / 443.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.281, allocations: 156.4 kB / 443.6 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.768e-05/0.2811, allocations: 52.33 kB / 443.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.2823, allocations: 0.6631 MB / 444.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.2824, allocations: 0 / 444.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/0.2824, allocations: 20 kB / 444.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.2824, allocations: 12 kB / 444.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.2835, allocations: 451.7 kB / 444.7 MB, free: 9.863 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.003337/0.2869, allocations: 1.9 MB / 446.6 MB, free: 7.852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00196/0.2888, allocations: 0.5721 MB / 447.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005849/0.2894, allocations: 234 kB / 447.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.2895, allocations: 20.41 kB / 447.5 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.2895, allocations: 43 kB / 447.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of pre-optimization done (n=54): time 2.134e-06/0.2895, allocations: 0 / 447.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=54): time 0.005016/0.2945, allocations: 1.243 MB / 448.7 MB, free: 5.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003367/0.2949, allocations: 0.5683 MB / 449.3 MB, free: 5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007291/0.2956, allocations: 0.5382 MB / 449.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/0.2957, allocations: 41.7 kB / 449.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002824/0.2959, allocations: 297.1 kB / 450.2 MB, free: 4.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.2961, allocations: 198.3 kB / 450.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.2963, allocations: 110.3 kB / 450.5 MB, free: 3.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.2966, allocations: 374.7 kB / 450.9 MB, free: 3.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005269/0.2971, allocations: 189.2 kB / 451 MB, free: 3.234 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007618/0.2978, allocations: 421.1 kB / 451.4 MB, free: 2.746 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.299, allocations: 487.5 kB / 451.9 MB, free: 2.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.299, allocations: 0 / 451.9 MB, free: 2.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002441/0.3014, allocations: 0.8056 MB / 452.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.3015, allocations: 33.7 kB / 452.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3015, allocations: 3.938 kB / 452.8 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.3025, allocations: 222.4 kB / 453 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007251/0.3032, allocations: 127.8 kB / 453.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008168/0.3114, allocations: 5.305 MB / 458.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007279/0.3121, allocations: 79.62 kB / 458.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.3122, allocations: 16 kB / 458.5 MB, free: 11.29 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.0003322/0.3125, allocations: 193.8 kB / 458.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.3126, allocations: 71.58 kB / 458.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/0.315, allocations: 0.7641 MB / 459.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.315, allocations: 11.94 kB / 459.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.315, allocations: 0 / 459.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002368/0.3174, allocations: 1.037 MB / 460.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/0.3209, allocations: 1.48 MB / 462.1 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.3209, allocations: 3.938 kB / 462.1 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/0.3217, allocations: 127.8 kB / 462.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008736/0.3226, allocations: 177.5 kB / 462.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/0.3226, allocations: 12 kB / 462.4 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005893/0.3285, allocations: 3.589 MB / 466 MB, free: 3.398 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.3285, allocations: 3.938 kB / 466 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/0.3316, allocations: 1.069 MB / 467 MB, free: 2.301 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/0.332, allocations: 123.4 kB / 467.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/0.3322, allocations: 19.98 kB / 467.2 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005521/0.3328, allocations: 35.91 kB / 467.2 MB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.3329, allocations: 52.34 kB / 467.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.3329, allocations: 12 kB / 467.3 MB, free: 2.062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005752/0.3335, allocations: 386.8 kB / 467.7 MB, free: 1.688 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3335, allocations: 0 / 467.7 MB, free: 1.688 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008813/0.3344, allocations: 223.8 kB / 467.9 MB, free: 1.469 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.003452/0.3379, allocations: 1.621 MB / 469.5 MB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002629/0.3405, allocations: 1.013 MB / 470.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.3405, allocations: 4 kB / 470.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.3416, allocations: 0.5119 MB / 471 MB, free: 14.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.3428, allocations: 190.5 kB / 471.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/0.3554, allocations: 6.055 MB / 477.3 MB, free: 7.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006615/0.356, allocations: 0.8918 MB / 478.2 MB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004198/0.3565, allocations: 85.06 kB / 478.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/0.3568, allocations: 231.4 kB / 478.5 MB, free: 6.609 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3568, allocations: 0 / 478.5 MB, free: 6.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06779/0.4246, allocations: 20.69 MB / 499.2 MB, free: 2.242 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.1, allocations: 11.92 kB / 499.2 MB, free: 2.23 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.585266151931137] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T', 'speed.phi'] 14.21417665714398 14.244139828 13.961374716 Calling exit ...