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.001347/0.001347, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001434/0.001434, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.001999/0.001999, allocations: 64.77 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2555, allocations: 53.37 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007473/0.2629, allocations: 5.657 MB / 437.6 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003435/0.2664, allocations: 1.461 MB / 439 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005865/0.267, allocations: 15.88 kB / 439.1 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.2676, allocations: 198.3 kB / 439.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009742/0.2685, allocations: 396.7 kB / 439.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.2691, allocations: 263.5 kB / 439.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001673/0.2708, allocations: 1.363 MB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004816/0.2712, allocations: 275.5 kB / 441.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007335/0.272, allocations: 0.5255 MB / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007665/0.2727, allocations: 0.5836 MB / 442.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.2729, allocations: 116 kB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001881/0.2731, allocations: 123.9 kB / 442.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002414/0.2733, allocations: 255.2 kB / 443.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005991/0.2739, allocations: 0.6105 MB / 443.7 MB, free: 11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001606/0.2755, allocations: 1.409 MB / 445.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2755, allocations: 4 kB / 445.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2756, allocations: 0 / 445.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.06e-05/0.2756, allocations: 3.938 kB / 445.1 MB, free: 9.574 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.002811/0.2784, allocations: 1.436 MB / 446.6 MB, free: 8.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2784, allocations: 8.031 kB / 446.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002063/0.2786, allocations: 132.6 kB / 446.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.2789, allocations: 136.2 kB / 446.9 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/0.2801, allocations: 0.5745 MB / 447.4 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003556/0.2804, allocations: 313.9 kB / 447.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.2805, allocations: 76.31 kB / 447.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/0.2823, allocations: 0.9745 MB / 448.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.2823, allocations: 0 / 448.8 MB, free: 5.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.542e-05/0.2824, allocations: 44 kB / 448.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.2824, allocations: 16 kB / 448.8 MB, free: 5.617 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.2838, allocations: 0.6246 MB / 449.5 MB, free: 4.992 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.004702/0.2885, allocations: 2.61 MB / 452.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.291, allocations: 0.7545 MB / 452.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006951/0.2917, allocations: 324 kB / 453.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.433e-05/0.2917, allocations: 16.66 kB / 453.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.505e-05/0.2918, allocations: 43.22 kB / 453.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/0.2918, allocations: 0 / 453.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002515/0.2943, allocations: 1.032 MB / 454.2 MB, free: 36 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005689/0.2949, allocations: 0.9565 MB / 455.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.296, allocations: 0.7903 MB / 456 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.573e-05/0.2961, allocations: 45.7 kB / 456 MB, free: 14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003766/0.2964, allocations: 421 kB / 456.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.2967, allocations: 269.7 kB / 456.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002712/0.297, allocations: 158.6 kB / 456.9 MB, free: 13.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.2971, allocations: 337.9 kB / 457.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/0.2977, allocations: 253.9 kB / 457.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009077/0.2986, allocations: 0.5802 MB / 458 MB, free: 11.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.2998, allocations: 0.6639 MB / 458.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.2999, allocations: 0 / 458.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001872/0.3017, allocations: 0.9473 MB / 459.6 MB, free: 10.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.757e-05/0.3018, allocations: 93.05 kB / 459.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.3018, allocations: 4.125 kB / 459.7 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/0.3022, allocations: 128.2 kB / 459.9 MB, free: 9.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007172/0.3029, allocations: 151.8 kB / 460 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006379/0.3093, allocations: 6.809 MB / 466.8 MB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.3103, allocations: 111.3 kB / 466.9 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/0.3104, allocations: 23.98 kB / 466.9 MB, free: 2.266 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.0004564/0.3109, allocations: 241.7 kB / 467.2 MB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.311, allocations: 107.4 kB / 467.3 MB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.3112, allocations: 100.9 kB / 467.4 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.3112, allocations: 8 kB / 467.4 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3112, allocations: 0 / 467.4 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00154/0.3128, allocations: 0.9738 MB / 468.4 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00311/0.3159, allocations: 1.717 MB / 470.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3159, allocations: 0 / 470.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007649/0.3167, allocations: 155.8 kB / 470.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/0.3168, allocations: 24.84 kB / 470.3 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/0.3168, allocations: 20 kB / 470.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001118/0.3179, allocations: 1.303 MB / 471.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3179, allocations: 3.938 kB / 471.6 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.3201, allocations: 1.078 MB / 472.7 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004715/0.3205, allocations: 199.1 kB / 472.9 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.3207, allocations: 23.98 kB / 472.9 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006121/0.3213, allocations: 35.97 kB / 472.9 MB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.3214, allocations: 48.56 kB / 473 MB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/0.3214, allocations: 16 kB / 473 MB, free: 11.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007728/0.3222, allocations: 0.5498 MB / 473.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3222, allocations: 0 / 473.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008324/0.323, allocations: 287.8 kB / 473.8 MB, free: 11.08 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.002508/0.3255, allocations: 1.667 MB / 475.5 MB, free: 9.379 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002232/0.3278, allocations: 1.355 MB / 476.8 MB, free: 7.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.3278, allocations: 4 kB / 476.8 MB, free: 7.922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000783/0.3286, allocations: 406.2 kB / 477.2 MB, free: 7.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001178/0.3297, allocations: 279.3 kB / 477.5 MB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01304/0.3428, allocations: 7.854 MB / 485.4 MB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000773/0.3436, allocations: 0.9835 MB / 486.3 MB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006766/0.3442, allocations: 127.5 kB / 486.5 MB, free: 14.05 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005458/0.3448, allocations: 355.3 kB / 486.8 MB, free: 13.7 MB / 398.1 MB Notification: Performance of SimCode: time 1.453e-06/0.3448, allocations: 0 / 486.8 MB, free: 13.7 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07747/0.4222, allocations: 26.89 MB / 0.5017 GB, free: 3.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/14.86, allocations: 7.922 kB / 0.5017 GB, free: 3.254 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.23099815985188] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'innerPipe.T', 'outerPipe.T', 'pipe1.T'] 14.97314575780183 14.98820583 14.709273866 Calling exit ...