Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.001389/0.001389, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001435/0.001435, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.433/1.433, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.PumpDropOut,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",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.001985/0.001985, allocations: 64.77 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2618, allocations: 53.36 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005668/0.2674, allocations: 3.806 MB / 435.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002337/0.2698, allocations: 1.04 MB / 436.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002883/0.2701, allocations: 7.938 kB / 436.8 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003839/0.2705, allocations: 119 kB / 436.9 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005233/0.271, allocations: 206.3 kB / 437.1 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.2714, allocations: 135.8 kB / 437.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009394/0.2723, allocations: 0.7041 MB / 437.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002871/0.2726, allocations: 143.2 kB / 438 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003882/0.273, allocations: 271.1 kB / 438.3 MB, free: 468 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/0.2734, allocations: 306.6 kB / 438.6 MB, free: 160 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.138e-05/0.2735, allocations: 60 kB / 438.7 MB, free: 100 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.2736, allocations: 60 kB / 438.7 MB, free: 40 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000158/0.2737, allocations: 135.6 kB / 438.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003244/0.2741, allocations: 318.5 kB / 439.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008624/0.2749, allocations: 0.7258 MB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2749, allocations: 0 / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2749, allocations: 4 kB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.57e-05/0.275, allocations: 0 / 439.9 MB, free: 14.86 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001635/0.2766, allocations: 0.8608 MB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.2766, allocations: 8.031 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.2768, allocations: 75.72 kB / 440.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.2769, allocations: 76.5 kB / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007751/0.2777, allocations: 381.3 kB / 441.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.2778, allocations: 118.7 kB / 441.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/0.2779, allocations: 36.38 kB / 441.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008937/0.2788, allocations: 0.5137 MB / 442 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.2788, allocations: 0 / 442 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.2788, allocations: 19.98 kB / 442 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.2788, allocations: 8 kB / 442 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000869/0.2797, allocations: 351.8 kB / 442.3 MB, free: 12.29 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.002228/0.2819, allocations: 1.324 MB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008706/0.2828, allocations: 359.2 kB / 444 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/0.2832, allocations: 175.9 kB / 444.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.244e-05/0.2833, allocations: 4 kB / 444.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.2833, allocations: 42.31 kB / 444.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.503e-06/0.2833, allocations: 0 / 444.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001572/0.2849, allocations: 0.6047 MB / 444.8 MB, free: 9.672 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002479/0.2851, allocations: 448.9 kB / 445.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005827/0.2857, allocations: 478 kB / 445.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.842e-05/0.2857, allocations: 33.7 kB / 445.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002049/0.286, allocations: 248.7 kB / 446 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.2861, allocations: 134.8 kB / 446.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.2862, allocations: 81.64 kB / 446.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2864, allocations: 362.7 kB / 446.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.2868, allocations: 147.9 kB / 446.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/0.2873, allocations: 289.4 kB / 447 MB, free: 7.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007647/0.2881, allocations: 358.6 kB / 447.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2881, allocations: 0 / 447.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00101/0.2891, allocations: 496.1 kB / 447.8 MB, free: 6.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.743e-05/0.2891, allocations: 29.7 kB / 447.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.2891, allocations: 8.031 kB / 447.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.2893, allocations: 53.62 kB / 447.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004231/0.2897, allocations: 87.88 kB / 448 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/0.2924, allocations: 2.75 MB / 450.8 MB, free: 3.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.2928, allocations: 63.69 kB / 450.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.2929, allocations: 15.98 kB / 450.8 MB, free: 3.191 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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 {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002455/0.2931, allocations: 177.7 kB / 451 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.421e-05/0.2932, allocations: 55.67 kB / 451.1 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.2933, allocations: 60.86 kB / 451.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.2933, allocations: 4 kB / 451.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2933, allocations: 0 / 451.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/0.2944, allocations: 0.74 MB / 451.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.2961, allocations: 1.012 MB / 452.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.2961, allocations: 0 / 452.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004694/0.2965, allocations: 95.88 kB / 453 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.2966, allocations: 4 kB / 453 MB, free: 0.875 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/0.2966, allocations: 4 kB / 453 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.2966, allocations: 7.938 kB / 453 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2966, allocations: 0 / 453 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/0.2979, allocations: 0.6761 MB / 453.7 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.2981, allocations: 95.48 kB / 453.8 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.2981, allocations: 15.94 kB / 453.8 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.2985, allocations: 27.97 kB / 453.8 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.602e-05/0.2986, allocations: 28.02 kB / 453.8 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.2986, allocations: 12.05 kB / 453.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000398/0.299, allocations: 342.8 kB / 454.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.299, allocations: 0 / 454.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004596/0.2995, allocations: 143.8 kB / 454.3 MB, free: 15.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001748/0.3012, allocations: 1.232 MB / 455.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.3026, allocations: 0.6411 MB / 456.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.3026, allocations: 0 / 456.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000407/0.303, allocations: 171.8 kB / 456.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/0.3036, allocations: 150 kB / 456.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007215/0.3109, allocations: 4.666 MB / 461.2 MB, free: 8.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.3113, allocations: 0.8428 MB / 462 MB, free: 7.629 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002826/0.3116, allocations: 72.52 kB / 462.1 MB, free: 7.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000277/0.3119, allocations: 183.4 kB / 462.3 MB, free: 7.375 MB / 366.1 MB Notification: Performance of SimCode: time 1.312e-06/0.3119, allocations: 0 / 462.3 MB, free: 7.375 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07101/0.3829, allocations: 14.28 MB / 476.5 MB, free: 9.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.89, allocations: 3.094 kB / 476.5 MB, free: 9.371 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_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_PumpDropOut.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.317631463054568] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 12.98988244170323 13.005785297 12.727360504 Calling exit ...