Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001496, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000435/0.0004352, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3033, allocations: 47.58 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003997/0.3074, allocations: 3.165 MB / 329.6 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.3097, allocations: 0.9092 MB / 330.5 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005465/0.3102, allocations: 12.56 kB / 330.6 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004245/0.3107, allocations: 72.22 kB / 330.6 MB, free: 14.1 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007776/0.3115, allocations: 174.1 kB / 330.8 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.3119, allocations: 95.3 kB / 330.9 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001176/0.3131, allocations: 0.5978 MB / 331.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000424/0.3135, allocations: 158.7 kB / 331.6 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006874/0.3142, allocations: 222.7 kB / 331.9 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006315/0.3149, allocations: 260.6 kB / 332.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.349e-05/0.315, allocations: 34.94 kB / 332.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.423e-05/0.3151, allocations: 36.28 kB / 332.2 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.3152, allocations: 98.72 kB / 332.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002028/0.3154, allocations: 129.5 kB / 332.4 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.3159, allocations: 0.5057 MB / 332.9 MB, free: 12.58 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/0.3159, allocations: 1.406 kB / 332.9 MB, free: 12.58 MB / 270.1 MB Notification: Performance of FrontEnd: time 5.4e-06/0.3159, allocations: 0 / 332.9 MB, free: 12.58 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.3159, allocations: 7.938 kB / 332.9 MB, free: 12.57 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001435/0.3174, allocations: 0.8139 MB / 333.7 MB, free: 11.89 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3174, allocations: 9.344 kB / 333.7 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.3176, allocations: 64.56 kB / 333.8 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.3182, allocations: 419 kB / 334.2 MB, free: 11.5 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.3184, allocations: 85.69 kB / 334.3 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.387e-05/0.3185, allocations: 38.03 kB / 334.3 MB, free: 11.43 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008403/0.3193, allocations: 0.4904 MB / 334.8 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.3194, allocations: 0 / 334.8 MB, free: 10.96 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.3194, allocations: 15.94 kB / 334.8 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.3194, allocations: 15.94 kB / 334.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008427/0.3203, allocations: 378.4 kB / 335.2 MB, free: 10.55 MB / 270.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.001894/0.3222, allocations: 1.306 MB / 336.5 MB, free: 9.16 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006739/0.3229, allocations: 403.4 kB / 336.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/0.3233, allocations: 202 kB / 337.1 MB, free: 8.539 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.3233, allocations: 7.984 kB / 337.1 MB, free: 8.531 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.3234, allocations: 46.5 kB / 337.2 MB, free: 8.477 MB / 270.1 MB Notification: Performance of pre-optimization done (n=35): time 1.523e-06/0.3234, allocations: 0 / 337.2 MB, free: 8.477 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.001578/0.3249, allocations: 0.7901 MB / 338 MB, free: 7.637 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002111/0.3252, allocations: 448.9 kB / 338.4 MB, free: 7.094 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.3256, allocations: 450 kB / 338.8 MB, free: 6.645 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.3257, allocations: 33.7 kB / 338.9 MB, free: 6.605 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.3259, allocations: 240.4 kB / 339.1 MB, free: 6.367 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.773e-05/0.326, allocations: 126.2 kB / 339.2 MB, free: 6.242 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.326, allocations: 8 kB / 339.2 MB, free: 6.234 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3261, allocations: 362.7 kB / 339.6 MB, free: 5.871 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.3265, allocations: 159.8 kB / 339.8 MB, free: 5.715 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/0.327, allocations: 310.5 kB / 340.1 MB, free: 5.355 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.3274, allocations: 215.1 kB / 340.3 MB, free: 5.141 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3274, allocations: 0 / 340.3 MB, free: 5.141 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001005/0.3285, allocations: 0.51 MB / 340.8 MB, free: 4.613 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.735e-05/0.3285, allocations: 33.7 kB / 340.8 MB, free: 4.574 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3285, allocations: 0 / 340.8 MB, free: 4.574 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.3287, allocations: 57.67 kB / 340.9 MB, free: 4.512 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004015/0.3291, allocations: 95.88 kB / 341 MB, free: 4.418 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.3314, allocations: 2.74 MB / 343.7 MB, free: 1.41 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/0.3319, allocations: 67.61 kB / 343.8 MB, free: 1.344 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.3319, allocations: 15.94 kB / 343.8 MB, free: 1.328 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002089/0.3321, allocations: 173.8 kB / 343.9 MB, free: 1.148 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-05/0.3322, allocations: 47.67 kB / 344 MB, free: 1.102 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.588e-05/0.3323, allocations: 56.77 kB / 344.1 MB, free: 1.047 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.3323, allocations: 7.984 kB / 344.1 MB, free: 1.039 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3324, allocations: 4 kB / 344.1 MB, free: 1.035 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/0.3334, allocations: 0.7596 MB / 344.8 MB, free: 176 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/0.335, allocations: 1.071 MB / 345.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.335, allocations: 0 / 345.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.3355, allocations: 103.9 kB / 346 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3355, allocations: 0 / 346 MB, free: 14.94 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.3355, allocations: 8 kB / 346 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3355, allocations: 7.953 kB / 346 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3355, allocations: 0 / 346 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.3368, allocations: 0.7132 MB / 346.7 MB, free: 14.19 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.337, allocations: 164.5 kB / 346.9 MB, free: 14.01 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.337, allocations: 8 kB / 346.9 MB, free: 14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.3374, allocations: 43.95 kB / 346.9 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.3375, allocations: 31.92 kB / 347 MB, free: 13.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.3376, allocations: 8 kB / 347 MB, free: 13.92 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004288/0.338, allocations: 327.1 kB / 347.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.338, allocations: 0 / 347.3 MB, free: 13.61 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005236/0.3385, allocations: 135.8 kB / 347.4 MB, free: 13.47 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002147/0.3388, allocations: 107.1 kB / 347.5 MB, free: 13.36 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.3401, allocations: 0.6882 MB / 348.2 MB, free: 12.63 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3401, allocations: 4 kB / 348.2 MB, free: 12.62 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004199/0.3405, allocations: 195.8 kB / 348.4 MB, free: 12.43 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007377/0.3413, allocations: 137.8 kB / 348.5 MB, free: 12.3 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.343, allocations: 1.113 MB / 349.7 MB, free: 11.16 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.3435, allocations: 0.8236 MB / 350.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002606/0.3438, allocations: 64.34 kB / 350.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.3439, allocations: 43.44 kB / 350.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3439, allocations: 7.938 kB / 350.6 MB, free: 10.2 MB / 286.1 MB Notification: Performance of Templates: time 0.01393/0.3579, allocations: 7.832 MB / 358.4 MB, free: 2.352 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)