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.001502/0.001502, 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.001433/0.001433, 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.012 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.002186/0.002186, allocations: 72.75 kB / 378.6 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2589, allocations: 53.36 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007381/0.2663, allocations: 5.675 MB / 437.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00327/0.2696, allocations: 1.457 MB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006134/0.2702, allocations: 19.88 kB / 439.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005788/0.2708, allocations: 190.3 kB / 439.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00106/0.2718, allocations: 396.7 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006081/0.2724, allocations: 259.6 kB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001777/0.2742, allocations: 1.366 MB / 441.3 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004824/0.2747, allocations: 271.5 kB / 441.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007626/0.2754, allocations: 0.5372 MB / 442.1 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008463/0.2763, allocations: 0.5835 MB / 442.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001885/0.2765, allocations: 120 kB / 442.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.2767, allocations: 120 kB / 442.9 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.2769, allocations: 251.2 kB / 443.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000686/0.2776, allocations: 0.6183 MB / 443.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.2793, allocations: 1.405 MB / 445.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2793, allocations: 0 / 445.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2793, allocations: 0 / 445.1 MB, free: 9.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.393e-05/0.2794, allocations: 3.938 kB / 445.1 MB, free: 9.566 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.003021/0.2824, allocations: 1.44 MB / 446.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.2824, allocations: 12.03 kB / 446.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002039/0.2826, allocations: 128.6 kB / 446.7 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002436/0.2829, allocations: 132.2 kB / 446.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.2841, allocations: 0.5901 MB / 447.4 MB, free: 7.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.2844, allocations: 305.9 kB / 447.7 MB, free: 6.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.2845, allocations: 72.38 kB / 447.8 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001797/0.2863, allocations: 0.9823 MB / 448.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.2864, allocations: 0 / 448.8 MB, free: 5.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.681e-05/0.2864, allocations: 36 kB / 448.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.2865, allocations: 16 kB / 448.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.2878, allocations: 0.6324 MB / 449.5 MB, free: 4.973 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.004867/0.2927, allocations: 2.598 MB / 452.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.2953, allocations: 0.7545 MB / 452.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00075/0.296, allocations: 320 kB / 453.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.508e-05/0.2961, allocations: 20.62 kB / 453.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.769e-05/0.2961, allocations: 51.22 kB / 453.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.086e-06/0.2961, allocations: 0 / 453.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002727/0.2989, allocations: 1.025 MB / 454.2 MB, free: 28 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000617/0.2995, allocations: 0.9565 MB / 455.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.3007, allocations: 0.7903 MB / 456 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.3008, allocations: 41.7 kB / 456 MB, free: 14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/0.3012, allocations: 425 kB / 456.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002605/0.3014, allocations: 261.7 kB / 456.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002759/0.3017, allocations: 158.7 kB / 456.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3019, allocations: 333.9 kB / 457.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006282/0.3025, allocations: 257.9 kB / 457.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009846/0.3035, allocations: 0.5919 MB / 458 MB, free: 11.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.3048, allocations: 0.66 MB / 458.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.3048, allocations: 0 / 458.7 MB, free: 11.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001871/0.3066, allocations: 0.9514 MB / 459.6 MB, free: 10.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.727e-05/0.3067, allocations: 89.03 kB / 459.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3067, allocations: 11.88 kB / 459.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003754/0.3071, allocations: 128.2 kB / 459.9 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/0.3078, allocations: 151.8 kB / 460 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006549/0.3144, allocations: 6.801 MB / 466.8 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.3154, allocations: 107.3 kB / 466.9 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.619e-05/0.3155, allocations: 28 kB / 466.9 MB, free: 2.258 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.0004682/0.316, allocations: 237.7 kB / 467.2 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001974/0.3162, allocations: 107.5 kB / 467.3 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.3164, allocations: 100.9 kB / 467.4 MB, free: 1.809 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3164, allocations: 8 kB / 467.4 MB, free: 1.801 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.098e-05/0.3164, allocations: 3.984 kB / 467.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001501/0.3179, allocations: 0.966 MB / 468.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/0.321, allocations: 1.724 MB / 470.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.321, allocations: 3.984 kB / 470.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007827/0.3218, allocations: 155.8 kB / 470.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001163/0.3219, allocations: 24.98 kB / 470.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.3219, allocations: 15.98 kB / 470.3 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001232/0.3232, allocations: 1.311 MB / 471.6 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3232, allocations: 3.938 kB / 471.6 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.3254, allocations: 1.078 MB / 472.7 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004728/0.3259, allocations: 187.1 kB / 472.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.326, allocations: 20 kB / 472.9 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006411/0.3267, allocations: 39.97 kB / 472.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.3268, allocations: 48.56 kB / 473 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.154e-05/0.3268, allocations: 19.98 kB / 473 MB, free: 11.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009181/0.3277, allocations: 0.5459 MB / 473.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3277, allocations: 0 / 473.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000964/0.3287, allocations: 295.8 kB / 473.8 MB, free: 11.07 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.002599/0.3313, allocations: 1.656 MB / 475.5 MB, free: 9.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002362/0.3337, allocations: 1.362 MB / 476.8 MB, free: 7.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.3337, allocations: 4.25 kB / 476.8 MB, free: 7.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007588/0.3344, allocations: 402.3 kB / 477.2 MB, free: 7.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.3357, allocations: 277.8 kB / 477.5 MB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.3487, allocations: 7.854 MB / 485.4 MB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.3493, allocations: 0.9796 MB / 486.3 MB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006089/0.3499, allocations: 131.5 kB / 486.5 MB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005428/0.3505, allocations: 359.3 kB / 486.8 MB, free: 13.69 MB / 398.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3505, allocations: 0 / 486.8 MB, free: 13.69 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0795/0.43, allocations: 26.88 MB / 0.5017 GB, free: 3.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.61, allocations: 21.33 kB / 0.5017 GB, free: 3.246 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: 17.05725622875616] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'innerPipe.T', 'outerPipe.T', 'pipe1.T'] 14.723923422861844 14.739095478 14.456480327 Calling exit ...