Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.001814/0.001814, allocations: 118.2 kB / 18.45 MB, free: 4.613 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.002578/0.002578, allocations: 211.3 kB / 21.41 MB, free: 1.66 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.441/1.441, allocations: 227.7 MB / 251.9 MB, free: 32 kB / 190.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.IndirectCooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",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.001922/0.001922, allocations: 67.83 kB / 365.2 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1046, allocations: 50.54 MB / 415.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007041/0.1116, allocations: 5.624 MB / 421.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.115, allocations: 1.452 MB / 422.8 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006598/0.1157, allocations: 12 kB / 422.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006254/0.1164, allocations: 194.3 kB / 423 MB, free: 6.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.1174, allocations: 384.7 kB / 423.4 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006001/0.1181, allocations: 267.6 kB / 423.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.1198, allocations: 1.362 MB / 425 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006279/0.1205, allocations: 407.1 kB / 425.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008157/0.1213, allocations: 0.5138 MB / 426 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008187/0.1221, allocations: 0.5797 MB / 426.5 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.1223, allocations: 120 kB / 426.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.1225, allocations: 120 kB / 426.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.1228, allocations: 263.1 kB / 427 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006887/0.1235, allocations: 0.6144 MB / 427.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001742/0.1253, allocations: 1.405 MB / 429 MB, free: 260 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1253, allocations: 0 / 429 MB, free: 260 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1253, allocations: 0 / 429 MB, free: 260 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.94e-05/0.1253, allocations: 0 / 429 MB, free: 260 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002957/0.1283, allocations: 1.516 MB / 430.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.1283, allocations: 8.031 kB / 430.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000209/0.1286, allocations: 128.6 kB / 430.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.1288, allocations: 136.1 kB / 430.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.1299, allocations: 0.6505 MB / 431.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002348/0.1302, allocations: 151.6 kB / 431.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.1303, allocations: 72.38 kB / 431.7 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.132, allocations: 0.9745 MB / 432.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.1321, allocations: 7.969 kB / 432.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.162e-05/0.1322, allocations: 36 kB / 432.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.1322, allocations: 16 kB / 432.7 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.1336, allocations: 0.6324 MB / 433.4 MB, free: 11.68 MB / 366.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.004828/0.1385, allocations: 2.648 MB / 436 MB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/0.1412, allocations: 0.8672 MB / 436.9 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008024/0.142, allocations: 350.7 kB / 437.2 MB, free: 7.629 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.738e-05/0.1421, allocations: 12.64 kB / 437.2 MB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.176e-05/0.1422, allocations: 55.22 kB / 437.3 MB, free: 7.555 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.056e-06/0.1422, allocations: 0 / 437.3 MB, free: 7.555 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.002985/0.1452, allocations: 1.405 MB / 438.7 MB, free: 6.039 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006062/0.1458, allocations: 0.9546 MB / 439.6 MB, free: 4.859 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001166/0.147, allocations: 0.7864 MB / 440.4 MB, free: 4.066 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001357/0.1471, allocations: 45.7 kB / 440.5 MB, free: 4.016 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/0.1475, allocations: 428.8 kB / 440.9 MB, free: 3.594 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.1478, allocations: 261.7 kB / 441.1 MB, free: 3.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.1481, allocations: 158.6 kB / 441.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1483, allocations: 333.9 kB / 441.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006116/0.1489, allocations: 265.9 kB / 441.9 MB, free: 2.586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.1499, allocations: 0.5841 MB / 442.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.1512, allocations: 0.66 MB / 443.1 MB, free: 1.184 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1512, allocations: 0 / 443.1 MB, free: 1.184 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001981/0.1532, allocations: 0.9592 MB / 444.1 MB, free: 184 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-05/0.1533, allocations: 89.05 kB / 444.2 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.1533, allocations: 4 kB / 444.2 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2178/0.3711, allocations: 121.9 kB / 444.3 MB, free: 29.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009304/0.3721, allocations: 150.4 kB / 444.4 MB, free: 29.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004275/0.3764, allocations: 7.319 MB / 451.8 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.3775, allocations: 104 kB / 451.9 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.138e-05/0.3776, allocations: 32.11 kB / 451.9 MB, free: 22.91 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003751/0.378, allocations: 237.1 kB / 452.1 MB, free: 22.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.3782, allocations: 102.8 kB / 452.2 MB, free: 22.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.3783, allocations: 102.4 kB / 452.3 MB, free: 22.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.3783, allocations: 12.81 kB / 452.3 MB, free: 22.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.3784, allocations: 0 / 452.3 MB, free: 22.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001252/0.3796, allocations: 0.9689 MB / 453.3 MB, free: 22.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.3825, allocations: 1.754 MB / 455.1 MB, free: 21.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.3826, allocations: 0.5625 kB / 455.1 MB, free: 21.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007911/0.3834, allocations: 156.8 kB / 455.2 MB, free: 21.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001095/0.3835, allocations: 26.88 kB / 455.2 MB, free: 21.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.694e-05/0.3835, allocations: 13.19 kB / 455.3 MB, free: 21.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007576/0.3843, allocations: 1.416 MB / 456.7 MB, free: 20.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3843, allocations: 1.125 kB / 456.7 MB, free: 20.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.3863, allocations: 1.081 MB / 457.8 MB, free: 20.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004313/0.3868, allocations: 263.4 kB / 458 MB, free: 20.13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.3869, allocations: 19.67 kB / 458 MB, free: 20.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006643/0.3876, allocations: 42.03 kB / 458.1 MB, free: 20.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.3877, allocations: 45.97 kB / 458.1 MB, free: 20.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/0.3878, allocations: 24.56 kB / 458.1 MB, free: 20.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008832/0.3887, allocations: 0.5459 MB / 458.7 MB, free: 20.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.002e-06/0.3887, allocations: 1.281 kB / 458.7 MB, free: 20.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009858/0.3897, allocations: 301.7 kB / 459 MB, free: 20.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002342/0.3921, allocations: 1.662 MB / 460.6 MB, free: 19.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.3942, allocations: 1.396 MB / 462 MB, free: 18.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.3942, allocations: 2.281 kB / 462 MB, free: 18.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006862/0.3949, allocations: 419.2 kB / 462.5 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.3962, allocations: 280.6 kB / 462.7 MB, free: 18.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01089/0.4071, allocations: 7.853 MB / 470.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004531/0.4076, allocations: 0.9825 MB / 471.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006221/0.4082, allocations: 125.8 kB / 471.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004102/0.4086, allocations: 354.5 kB / 472 MB, free: 14.05 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4086, allocations: 0 / 472 MB, free: 14.05 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06671/0.4754, allocations: 26.29 MB / 498.3 MB, free: 12.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.42, allocations: 3.5 kB / 498.3 MB, free: 12.39 MB / 382.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.csv --start-time 0 --stop-time 1.5 --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_IndirectCooling.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.02930903097149] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'innerPipe.T', 'outerPipe.T', 'pipe1.T'] 14.528158833039925 14.548230374 14.418457464 Calling exit ...