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.001264/0.001264, allocations: 108.2 kB / 20.22 MB, free: 1.812 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.001332/0.001332, allocations: 220.4 kB / 23.48 MB, free: 5.25 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.524/1.524, allocations: 230.4 MB / 257 MB, free: 8.262 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.0019/0.0019, allocations: 71.89 kB / 377.1 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2607, allocations: 53.31 MB / 430.4 MB, free: 7.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006985/0.2677, allocations: 5.663 MB / 436 MB, free: 1.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003299/0.271, allocations: 1.457 MB / 437.5 MB, free: 108 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004521/0.2715, allocations: 15.94 kB / 437.5 MB, free: 92 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.272, allocations: 190.3 kB / 437.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008023/0.2728, allocations: 400.7 kB / 438.1 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.2734, allocations: 263.6 kB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.275, allocations: 1.354 MB / 439.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004327/0.2754, allocations: 283.2 kB / 440 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005901/0.276, allocations: 0.506 MB / 440.5 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006913/0.2767, allocations: 0.5874 MB / 441.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.2768, allocations: 116 kB / 441.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002037/0.277, allocations: 120 kB / 441.3 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002254/0.2773, allocations: 259.1 kB / 441.6 MB, free: 12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005905/0.2779, allocations: 0.6105 MB / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001419/0.2793, allocations: 1.408 MB / 443.6 MB, free: 9.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2793, allocations: 3.938 kB / 443.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.2793, allocations: 0 / 443.6 MB, free: 9.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.2793, allocations: 0 / 443.6 MB, free: 9.977 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.002616/0.2819, allocations: 1.512 MB / 445.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2819, allocations: 8.031 kB / 445.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002013/0.2822, allocations: 132.6 kB / 445.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.2824, allocations: 140.1 kB / 445.4 MB, free: 8.109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.2834, allocations: 0.6506 MB / 446 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.2836, allocations: 147.7 kB / 446.2 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.2837, allocations: 68.38 kB / 446.2 MB, free: 7.191 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.2853, allocations: 0.987 MB / 447.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.2853, allocations: 3.984 kB / 447.2 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-05/0.2854, allocations: 36 kB / 447.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.74e-05/0.2854, allocations: 16 kB / 447.3 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.2867, allocations: 0.6246 MB / 447.9 MB, free: 5.406 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.004169/0.2908, allocations: 2.656 MB / 450.6 MB, free: 2.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.2933, allocations: 0.822 MB / 451.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007037/0.294, allocations: 330.6 kB / 451.7 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.165e-05/0.2941, allocations: 12.64 kB / 451.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.2941, allocations: 59.25 kB / 451.8 MB, free: 1.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.425e-06/0.2941, allocations: 3.938 kB / 451.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002646/0.2968, allocations: 1.393 MB / 453.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005073/0.2973, allocations: 0.9566 MB / 454.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.2983, allocations: 0.7864 MB / 454.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.114e-05/0.2984, allocations: 41.7 kB / 454.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.2987, allocations: 425 kB / 455.4 MB, free: 13.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.2989, allocations: 265.7 kB / 455.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002604/0.2992, allocations: 158.6 kB / 455.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2994, allocations: 337.9 kB / 456.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005913/0.3, allocations: 257.9 kB / 456.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009081/0.3009, allocations: 0.588 MB / 456.9 MB, free: 11.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.3021, allocations: 0.66 MB / 457.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.3021, allocations: 0 / 457.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001778/0.3038, allocations: 0.9552 MB / 458.6 MB, free: 9.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.639e-05/0.3039, allocations: 85.05 kB / 458.6 MB, free: 9.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.3039, allocations: 7.984 kB / 458.7 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003491/0.3043, allocations: 124.2 kB / 458.8 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.305, allocations: 155.8 kB / 458.9 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006367/0.3113, allocations: 7.334 MB / 466.3 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009893/0.3123, allocations: 103.3 kB / 466.4 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.79e-05/0.3124, allocations: 24 kB / 466.4 MB, free: 1.422 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.0004519/0.3128, allocations: 233.8 kB / 466.6 MB, free: 1.184 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.313, allocations: 111.3 kB / 466.7 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.3132, allocations: 96.91 kB / 466.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.3132, allocations: 8 kB / 466.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.3133, allocations: 0 / 466.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001475/0.3147, allocations: 0.9778 MB / 467.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002865/0.3176, allocations: 1.752 MB / 469.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.3176, allocations: 4 kB / 469.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007516/0.3184, allocations: 151.8 kB / 469.7 MB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001101/0.3185, allocations: 28.78 kB / 469.7 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.291e-05/0.3185, allocations: 15.94 kB / 469.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.3198, allocations: 1.407 MB / 471.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3198, allocations: 0 / 471.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00197/0.3217, allocations: 1.078 MB / 472.2 MB, free: 11.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004305/0.3222, allocations: 268.2 kB / 472.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.3223, allocations: 16 kB / 472.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006229/0.3229, allocations: 47.97 kB / 472.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.926e-05/0.323, allocations: 48.59 kB / 472.6 MB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/0.323, allocations: 23.92 kB / 472.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007622/0.3238, allocations: 0.5458 MB / 473.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3238, allocations: 0 / 473.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008391/0.3246, allocations: 295.7 kB / 473.5 MB, free: 9.961 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.002332/0.327, allocations: 1.66 MB / 475.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002206/0.3292, allocations: 1.362 MB / 476.5 MB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3292, allocations: 0 / 476.5 MB, free: 6.812 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000691/0.3299, allocations: 398.3 kB / 476.9 MB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.3311, allocations: 275.3 kB / 477.1 MB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01303/0.3441, allocations: 7.847 MB / 485 MB, free: 14.1 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006947/0.3448, allocations: 0.9836 MB / 486 MB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000581/0.3454, allocations: 127.5 kB / 486.1 MB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005075/0.3459, allocations: 359.3 kB / 486.5 MB, free: 12.6 MB / 398.1 MB Notification: Performance of SimCode: time 1.233e-06/0.3459, allocations: 0 / 486.5 MB, free: 12.6 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07319/0.4191, allocations: 26.48 MB / 0.5009 GB, free: 2.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.35, allocations: 7.141 kB / 0.5009 GB, free: 2.559 MB / 414.1 MB " [Timeout remaining time 646] (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: 16.727521528024226] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'innerPipe.T', 'outerPipe.T', 'pipe1.T'] 14.456065843813121 14.472106679 14.189687803 Calling exit ...