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.001318/0.001318, allocations: 120.2 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.001424/0.001424, allocations: 205 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.435/1.435, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.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.001988/0.001988, allocations: 72.02 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1113, allocations: 53.34 MB / 427 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.2157/0.3269, allocations: 5.626 MB / 432.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.3297, allocations: 1.464 MB / 434.1 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004116/0.3302, allocations: 21.09 kB / 434.1 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004227/0.3306, allocations: 194.5 kB / 434.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006333/0.3312, allocations: 392.3 kB / 434.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004121/0.3316, allocations: 267 kB / 435 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.3328, allocations: 1.362 MB / 436.3 MB, free: 6.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003877/0.3331, allocations: 276.4 kB / 436.6 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005931/0.3337, allocations: 0.5217 MB / 437.1 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006753/0.3344, allocations: 0.5847 MB / 437.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.3346, allocations: 118.1 kB / 437.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.3348, allocations: 119.8 kB / 437.9 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000216/0.335, allocations: 260.3 kB / 438.2 MB, free: 6.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005973/0.3356, allocations: 0.6134 MB / 438.8 MB, free: 5.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001732/0.3374, allocations: 1.408 MB / 440.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3374, allocations: 0.5625 kB / 440.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3374, allocations: 0 / 440.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.129e-05/0.3374, allocations: 0.9375 kB / 440.2 MB, free: 5.445 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002603/0.34, allocations: 1.516 MB / 441.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.34, allocations: 9.172 kB / 441.7 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/0.3402, allocations: 130.6 kB / 441.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.3405, allocations: 137.9 kB / 442 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009396/0.3414, allocations: 0.6444 MB / 442.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001889/0.3416, allocations: 155.6 kB / 442.8 MB, free: 3.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.3417, allocations: 68.91 kB / 442.9 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.3433, allocations: 0.9809 MB / 443.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.3433, allocations: 4.5 kB / 443.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.915e-05/0.3434, allocations: 34.22 kB / 443.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.96e-05/0.3434, allocations: 16.19 kB / 443.9 MB, free: 2.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.3449, allocations: 0.6211 MB / 444.5 MB, free: 2.797 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.004125/0.349, allocations: 2.658 MB / 447.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/0.3515, allocations: 0.8243 MB / 448 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007209/0.3523, allocations: 321.6 kB / 448.3 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.57e-05/0.3523, allocations: 17.94 kB / 448.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.3524, allocations: 47.42 kB / 448.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.705e-06/0.3524, allocations: 0 / 448.4 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002728/0.3551, allocations: 1.4 MB / 449.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005716/0.3557, allocations: 0.9492 MB / 450.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.3568, allocations: 0.7853 MB / 451.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.633e-05/0.3569, allocations: 45.45 kB / 451.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003996/0.3573, allocations: 432.9 kB / 452 MB, free: 13.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002716/0.3576, allocations: 266.6 kB / 452.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003015/0.3579, allocations: 155.7 kB / 452.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001857/0.3581, allocations: 337.3 kB / 452.7 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006095/0.3587, allocations: 258.7 kB / 453 MB, free: 13.21 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009611/0.3597, allocations: 0.5852 MB / 453.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.3609, allocations: 0.6589 MB / 454.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3609, allocations: 0 / 454.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001961/0.3629, allocations: 0.957 MB / 455.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.736e-05/0.363, allocations: 93.27 kB / 455.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.363, allocations: 2.078 kB / 455.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003738/0.3634, allocations: 125.3 kB / 455.4 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007204/0.3641, allocations: 154.8 kB / 455.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007036/0.3711, allocations: 7.324 MB / 462.9 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/0.3724, allocations: 110 kB / 463 MB, free: 4.371 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.909e-05/0.3724, allocations: 29.11 kB / 463 MB, free: 4.363 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.0004797/0.3729, allocations: 232.7 kB / 463.2 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.3731, allocations: 106.4 kB / 463.3 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.3734, allocations: 98.62 kB / 463.4 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.3734, allocations: 6.969 kB / 463.4 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/0.3734, allocations: 4.062 kB / 463.4 MB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001623/0.375, allocations: 0.9739 MB / 464.4 MB, free: 3.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.3783, allocations: 1.752 MB / 466.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3783, allocations: 0 / 466.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007649/0.379, allocations: 155.6 kB / 466.3 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001185/0.3792, allocations: 27.19 kB / 466.3 MB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.3792, allocations: 17.91 kB / 466.4 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/0.3804, allocations: 1.4 MB / 467.8 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3804, allocations: 4.062 kB / 467.8 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.3826, allocations: 1.082 MB / 468.8 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005774/0.3832, allocations: 262.3 kB / 469.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.3833, allocations: 22.66 kB / 469.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006708/0.384, allocations: 43.31 kB / 469.2 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.3841, allocations: 42.56 kB / 469.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.3841, allocations: 19.78 kB / 469.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008645/0.385, allocations: 0.5462 MB / 469.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.385, allocations: 1 kB / 469.8 MB, free: 15.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001037/0.386, allocations: 309.3 kB / 470.1 MB, free: 15.52 MB / 382.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.00258/0.3886, allocations: 1.65 MB / 471.7 MB, free: 14.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.3911, allocations: 1.36 MB / 473.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/0.3912, allocations: 2.25 kB / 473.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008029/0.392, allocations: 403 kB / 473.5 MB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.3935, allocations: 285.3 kB / 473.8 MB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01385/0.4074, allocations: 7.849 MB / 481.6 MB, free: 7.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008909/0.4083, allocations: 0.9835 MB / 482.6 MB, free: 6.633 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007804/0.4091, allocations: 127.5 kB / 482.7 MB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005835/0.4097, allocations: 355.3 kB / 483.1 MB, free: 6.152 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4097, allocations: 4 kB / 483.1 MB, free: 6.148 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07872/0.4884, allocations: 26.46 MB / 0.4976 GB, free: 12.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.47, allocations: 10.95 kB / 0.4976 GB, free: 12.18 MB / 414.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: 16.961435763631016] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'innerPipe.T', 'outerPipe.T', 'pipe1.T'] 14.587850211653858 14.61431245 14.272098988 Calling exit ...