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.001782/0.001782, allocations: 121.4 kB / 18.46 MB, free: 4.566 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.002164/0.002164, allocations: 214.5 kB / 21.41 MB, free: 1.617 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.465/1.465, allocations: 227.7 MB / 251.9 MB, free: 15.86 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.002146/0.002146, allocations: 71.83 kB / 365.2 MB, free: 304 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1083, allocations: 50.55 MB / 415.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005355/0.1137, allocations: 3.76 MB / 419.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.1159, allocations: 1.032 MB / 420.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004169/0.1164, allocations: 4 kB / 420.6 MB, free: 8.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000466/0.1169, allocations: 115 kB / 420.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000608/0.1175, allocations: 206.2 kB / 420.9 MB, free: 8.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003398/0.1179, allocations: 135.8 kB / 421 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008617/0.1187, allocations: 0.6964 MB / 421.7 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003491/0.1191, allocations: 210.7 kB / 421.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003466/0.1195, allocations: 275 kB / 422.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003965/0.1199, allocations: 306.7 kB / 422.5 MB, free: 6.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.12, allocations: 60 kB / 422.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1201, allocations: 60 kB / 422.6 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.1202, allocations: 131.5 kB / 422.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003415/0.1206, allocations: 322.5 kB / 423 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009427/0.1215, allocations: 0.7236 MB / 423.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1216, allocations: 3.938 kB / 423.8 MB, free: 5.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1216, allocations: 0 / 423.8 MB, free: 5.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.1216, allocations: 0 / 423.8 MB, free: 5.66 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.00191/0.1235, allocations: 0.9283 MB / 424.7 MB, free: 4.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.1236, allocations: 8.031 kB / 424.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001391/0.1237, allocations: 79.67 kB / 424.8 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.1239, allocations: 72.56 kB / 424.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008727/0.1248, allocations: 451.1 kB / 425.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.1249, allocations: 63.25 kB / 425.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-05/0.125, allocations: 36.38 kB / 425.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009341/0.1259, allocations: 0.5058 MB / 425.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.1259, allocations: 0 / 425.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.126, allocations: 20 kB / 425.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.126, allocations: 8 kB / 425.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008754/0.1269, allocations: 359.8 kB / 426.3 MB, free: 2.988 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.002593/0.1295, allocations: 1.359 MB / 427.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009535/0.1305, allocations: 452.3 kB / 428.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004406/0.1309, allocations: 199.3 kB / 428.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.708e-05/0.131, allocations: 4 kB / 428.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.131, allocations: 42.31 kB / 428.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 3.115e-06/0.131, allocations: 0 / 428.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001793/0.1328, allocations: 0.7516 MB / 429.1 MB, free: 12 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002579/0.1331, allocations: 441 kB / 429.5 MB, free: 15.48 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005954/0.1337, allocations: 478 kB / 430 MB, free: 15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/0.1338, allocations: 33.7 kB / 430 MB, free: 14.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.134, allocations: 256.6 kB / 430.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.1341, allocations: 138.8 kB / 430.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.1343, allocations: 73.69 kB / 430.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1344, allocations: 362.8 kB / 430.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004018/0.1349, allocations: 139.9 kB / 430.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/0.1354, allocations: 294.4 kB / 431.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008042/0.1362, allocations: 350.6 kB / 431.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1362, allocations: 0 / 431.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001144/0.1374, allocations: 0.4923 MB / 432.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/0.1374, allocations: 31.89 kB / 432.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1375, allocations: 0 / 432.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.1377, allocations: 53.62 kB / 432.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/0.1381, allocations: 91.91 kB / 432.2 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00284/0.141, allocations: 2.957 MB / 435.2 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.1415, allocations: 63.73 kB / 435.2 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.1415, allocations: 8 kB / 435.3 MB, free: 9.293 MB / 366.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.0002578/0.1418, allocations: 177.7 kB / 435.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1419, allocations: 55.67 kB / 435.5 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.142, allocations: 64.86 kB / 435.5 MB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.1421, allocations: 4 kB / 435.6 MB, free: 8.984 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1421, allocations: 3.938 kB / 435.6 MB, free: 8.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/0.1432, allocations: 0.7397 MB / 436.3 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.1451, allocations: 1.052 MB / 437.3 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.1452, allocations: 0 / 437.3 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/0.1456, allocations: 95.86 kB / 437.4 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1457, allocations: 0 / 437.4 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.1457, allocations: 4 kB / 437.4 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1457, allocations: 8 kB / 437.5 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.1457, allocations: 0 / 437.5 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.1472, allocations: 0.6802 MB / 438.1 MB, free: 6.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002684/0.1475, allocations: 176.6 kB / 438.3 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.35e-05/0.1475, allocations: 8 kB / 438.3 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.1479, allocations: 27.97 kB / 438.3 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.148, allocations: 27.97 kB / 438.4 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/0.1481, allocations: 4 kB / 438.4 MB, free: 5.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000422/0.1485, allocations: 342.9 kB / 438.7 MB, free: 5.625 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1485, allocations: 64 / 438.7 MB, free: 5.625 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004856/0.149, allocations: 147.8 kB / 438.9 MB, free: 5.48 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.001776/0.1508, allocations: 1.228 MB / 440.1 MB, free: 4.227 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001399/0.1522, allocations: 0.6527 MB / 440.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1522, allocations: 0 / 440.7 MB, free: 3.535 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004375/0.1526, allocations: 188.2 kB / 440.9 MB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007367/0.1534, allocations: 146 kB / 441.1 MB, free: 3.203 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1797/0.3331, allocations: 4.67 MB / 445.7 MB, free: 29.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.3333, allocations: 0.8395 MB / 446.6 MB, free: 28.31 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002761/0.3336, allocations: 64.55 kB / 446.6 MB, free: 28.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.3338, allocations: 177.6 kB / 446.8 MB, free: 28.3 MB / 366.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3338, allocations: 2.531 kB / 446.8 MB, free: 28.3 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04638/0.3802, allocations: 14.01 MB / 460.8 MB, free: 25.21 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.69, allocations: 5.25 kB / 460.8 MB, free: 25.21 MB / 366.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.164440557011403] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 12.784229190088809 12.794762216 12.671250577 Calling exit ...