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.00158/0.00158, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001628/0.001628, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.4 MB / 254.7 MB, free: 15.23 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.001891/0.001891, allocations: 71.83 kB / 373.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1025, allocations: 53.31 MB / 426.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.1967/0.2992, allocations: 5.637 MB / 432.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.3017, allocations: 1.453 MB / 434 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004038/0.3021, allocations: 12.81 kB / 434 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004236/0.3025, allocations: 205 kB / 434.2 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006582/0.3032, allocations: 392.8 kB / 434.6 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.3036, allocations: 270.3 kB / 434.8 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.3048, allocations: 1.361 MB / 436.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000381/0.3052, allocations: 271.3 kB / 436.5 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005917/0.3058, allocations: 0.5152 MB / 437 MB, free: 6.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000678/0.3064, allocations: 0.5819 MB / 437.6 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.3066, allocations: 117.6 kB / 437.7 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002266/0.3069, allocations: 120.7 kB / 437.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.307, allocations: 254.7 kB / 438 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005503/0.3076, allocations: 0.6096 MB / 438.6 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.3092, allocations: 1.413 MB / 440.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.3092, allocations: 4 kB / 440.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3092, allocations: 0 / 440.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.027e-05/0.3092, allocations: 0 / 440.1 MB, free: 5.477 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.002659/0.3119, allocations: 1.511 MB / 441.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.3119, allocations: 9.281 kB / 441.6 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001831/0.3121, allocations: 130 kB / 441.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.3123, allocations: 138.4 kB / 441.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009844/0.3133, allocations: 0.6479 MB / 442.5 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.3135, allocations: 152.2 kB / 442.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.3136, allocations: 72.61 kB / 442.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.315, allocations: 0.9739 MB / 443.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.315, allocations: 0.5 kB / 443.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.938e-05/0.3151, allocations: 38.06 kB / 443.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.3151, allocations: 16.5 kB / 443.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001297/0.3164, allocations: 0.6281 MB / 444.4 MB, free: 2.828 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.004217/0.3207, allocations: 2.655 MB / 447 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/0.3232, allocations: 0.825 MB / 447.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006625/0.3238, allocations: 325.7 kB / 448.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.855e-05/0.3239, allocations: 16.5 kB / 448.2 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.3239, allocations: 51.25 kB / 448.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.755e-06/0.3239, allocations: 0 / 448.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.002665/0.3266, allocations: 1.398 MB / 449.6 MB, free: 15.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005505/0.3271, allocations: 0.9528 MB / 450.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.3283, allocations: 0.7906 MB / 451.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.306e-05/0.3284, allocations: 41.86 kB / 451.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.3288, allocations: 427.7 kB / 451.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.3291, allocations: 268.5 kB / 452.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.3294, allocations: 154.9 kB / 452.2 MB, free: 13.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3295, allocations: 336.8 kB / 452.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/0.3301, allocations: 255.1 kB / 452.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009285/0.331, allocations: 0.5881 MB / 453.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.3323, allocations: 0.6592 MB / 454.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.3323, allocations: 1.469 kB / 454.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00179/0.3341, allocations: 0.9563 MB / 455 MB, free: 11.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.2e-05/0.3342, allocations: 89.53 kB / 455.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3342, allocations: 5.312 kB / 455.1 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003599/0.3345, allocations: 128.8 kB / 455.3 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007106/0.3353, allocations: 150 kB / 455.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006936/0.3422, allocations: 7.331 MB / 462.7 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/0.3436, allocations: 106 kB / 462.8 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.3437, allocations: 24.62 kB / 462.9 MB, free: 4.398 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.0006092/0.3443, allocations: 236.5 kB / 463.1 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/0.3445, allocations: 109.3 kB / 463.2 MB, free: 4.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.3447, allocations: 99.44 kB / 463.3 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3448, allocations: 8.969 kB / 463.3 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/0.3448, allocations: 0 / 463.3 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001528/0.3463, allocations: 0.9749 MB / 464.3 MB, free: 3.348 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/0.3495, allocations: 1.751 MB / 466 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3495, allocations: 1.094 kB / 466 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007131/0.3502, allocations: 156 kB / 466.2 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001048/0.3503, allocations: 25.47 kB / 466.2 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.552e-05/0.3504, allocations: 12.06 kB / 466.2 MB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.3515, allocations: 1.411 MB / 467.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3515, allocations: 64 / 467.6 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/0.3535, allocations: 1.082 MB / 468.7 MB, free: 220 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/0.3541, allocations: 269.5 kB / 469 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.3542, allocations: 19.94 kB / 469 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006281/0.3548, allocations: 35.53 kB / 469 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.3549, allocations: 45.06 kB / 469.1 MB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/0.355, allocations: 20.95 kB / 469.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007495/0.3557, allocations: 0.5466 MB / 469.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3557, allocations: 0 / 469.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008899/0.3566, allocations: 297 kB / 469.9 MB, free: 15.55 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.002404/0.359, allocations: 1.659 MB / 471.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.3613, allocations: 1.365 MB / 472.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.3613, allocations: 1.625 kB / 473 MB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007193/0.362, allocations: 402.1 kB / 473.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.3634, allocations: 288.5 kB / 473.6 MB, free: 12.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.3761, allocations: 7.844 MB / 481.5 MB, free: 7.691 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/0.3768, allocations: 0.9797 MB / 482.4 MB, free: 6.676 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006991/0.3775, allocations: 127.5 kB / 482.6 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/0.378, allocations: 363.3 kB / 482.9 MB, free: 6.191 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.378, allocations: 0 / 482.9 MB, free: 6.191 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07608/0.4541, allocations: 26.45 MB / 0.4974 GB, free: 12.22 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.66/14.12, allocations: 2.875 kB / 0.4974 GB, free: 12.22 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.52107835188508] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'innerPipe.T', 'outerPipe.T', 'pipe1.T'] 14.227799053303897 14.241614017 13.929431442 Calling exit ...