Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.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.001064/0.001064, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001203/0.001203, allocations: 195.3 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.1 MB / 222 MB, free: 4.945 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.001321/0.001321, allocations: 55.84 kB / 278 MB, free: 13 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2758, allocations: 46.63 MB / 324.7 MB, free: 1.82 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005332/0.2812, allocations: 3.68 MB / 328.4 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.2834, allocations: 1.019 MB / 329.4 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002499/0.2837, allocations: 5.406 kB / 329.4 MB, free: 14.06 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.284, allocations: 93.64 kB / 329.5 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.2845, allocations: 170.1 kB / 329.6 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.2848, allocations: 114.7 kB / 329.8 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006259/0.2854, allocations: 0.6448 MB / 330.4 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002791/0.2857, allocations: 178.6 kB / 330.6 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.286, allocations: 241 kB / 330.8 MB, free: 13.13 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.2863, allocations: 280.6 kB / 331.1 MB, free: 12.94 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.594e-05/0.2864, allocations: 39.88 kB / 331.1 MB, free: 12.94 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.2865, allocations: 39.94 kB / 331.2 MB, free: 12.94 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.2866, allocations: 110.7 kB / 331.3 MB, free: 12.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003578/0.287, allocations: 291.1 kB / 331.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008145/0.2878, allocations: 0.6684 MB / 332.2 MB, free: 12.15 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.836e-06/0.2878, allocations: 0 / 332.2 MB, free: 12.15 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2878, allocations: 0 / 332.2 MB, free: 12.15 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.2879, allocations: 0 / 332.2 MB, free: 12.15 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.001994/0.2899, allocations: 0.8902 MB / 333.1 MB, free: 11.41 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.2899, allocations: 9.406 kB / 333.1 MB, free: 11.41 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.2901, allocations: 66.97 kB / 333.2 MB, free: 11.38 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008054/0.2909, allocations: 432.8 kB / 333.6 MB, free: 11 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002572/0.2912, allocations: 82.52 kB / 333.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-05/0.2913, allocations: 32.72 kB / 333.7 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009748/0.2923, allocations: 0.4892 MB / 334.2 MB, free: 10.46 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.2923, allocations: 4 kB / 334.2 MB, free: 10.46 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.2923, allocations: 16 kB / 334.2 MB, free: 10.45 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.2924, allocations: 8 kB / 334.2 MB, free: 10.44 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009821/0.2933, allocations: 366.4 kB / 334.6 MB, free: 10.08 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.002101/0.2955, allocations: 1.298 MB / 335.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/0.2962, allocations: 395.3 kB / 336.3 MB, free: 8.277 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004615/0.2967, allocations: 193.9 kB / 336.5 MB, free: 8.086 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.2968, allocations: 12 kB / 336.5 MB, free: 8.074 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.2968, allocations: 38.56 kB / 336.5 MB, free: 8.027 MB / 270.1 MB Notification: Performance of pre-optimization done (n=35): time 1.643e-06/0.2968, allocations: 0 / 336.5 MB, free: 8.027 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.001895/0.2987, allocations: 0.7626 MB / 337.3 MB, free: 7.215 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003107/0.299, allocations: 445 kB / 337.7 MB, free: 6.676 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006162/0.2997, allocations: 454 kB / 338.2 MB, free: 6.223 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.2997, allocations: 33.7 kB / 338.2 MB, free: 6.184 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.3, allocations: 244.4 kB / 338.4 MB, free: 5.941 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.3001, allocations: 122.2 kB / 338.5 MB, free: 5.82 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.3003, allocations: 77.69 kB / 338.6 MB, free: 5.738 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.3005, allocations: 366.7 kB / 339 MB, free: 5.371 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004202/0.3009, allocations: 151.9 kB / 339.1 MB, free: 5.223 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.3015, allocations: 294.5 kB / 339.4 MB, free: 4.883 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008281/0.3023, allocations: 365.2 kB / 339.8 MB, free: 4.516 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3023, allocations: 0 / 339.8 MB, free: 4.516 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001117/0.3034, allocations: 0.5015 MB / 340.3 MB, free: 3.996 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.291e-05/0.3035, allocations: 36.67 kB / 340.3 MB, free: 3.957 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.3035, allocations: 80 / 340.3 MB, free: 3.957 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002255/0.3038, allocations: 45.7 kB / 340.4 MB, free: 3.906 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004254/0.3042, allocations: 91.86 kB / 340.4 MB, free: 3.816 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002485/0.3067, allocations: 2.759 MB / 343.2 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.3073, allocations: 51.75 kB / 343.3 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.3073, allocations: 12 kB / 343.3 MB, free: 0.7227 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002924/0.3077, allocations: 182 kB / 343.4 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.3078, allocations: 55.38 kB / 343.5 MB, free: 492 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.3079, allocations: 53 kB / 343.6 MB, free: 440 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3079, allocations: 4 kB / 343.6 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3079, allocations: 0 / 343.6 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001123/0.309, allocations: 0.7516 MB / 344.3 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001736/0.3108, allocations: 1.04 MB / 345.3 MB, free: 14.47 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.3108, allocations: 0 / 345.3 MB, free: 14.47 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.3113, allocations: 99.8 kB / 345.4 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3113, allocations: 4 kB / 345.4 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/0.3113, allocations: 4 kB / 345.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3113, allocations: 0 / 345.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3113, allocations: 8 kB / 345.5 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.3127, allocations: 0.6902 MB / 346.2 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.3129, allocations: 160.5 kB / 346.3 MB, free: 13.47 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.07e-05/0.313, allocations: 16.06 kB / 346.3 MB, free: 13.46 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.3134, allocations: 39.89 kB / 346.4 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.3135, allocations: 19.97 kB / 346.4 MB, free: 13.4 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.3135, allocations: 11.98 kB / 346.4 MB, free: 13.39 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003751/0.3139, allocations: 323.1 kB / 346.7 MB, free: 13.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3139, allocations: 0 / 346.7 MB, free: 13.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004704/0.3144, allocations: 135.8 kB / 346.8 MB, free: 12.94 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001564/0.3145, allocations: 119.1 kB / 347 MB, free: 12.81 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.316, allocations: 0.657 MB / 347.6 MB, free: 12.12 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.316, allocations: 0 / 347.6 MB, free: 12.12 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004293/0.3164, allocations: 191.8 kB / 347.8 MB, free: 11.93 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000826/0.3173, allocations: 133.8 kB / 347.9 MB, free: 11.8 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.319, allocations: 1.085 MB / 349 MB, free: 10.7 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.3195, allocations: 0.8275 MB / 349.8 MB, free: 9.84 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002626/0.3198, allocations: 76.27 kB / 349.9 MB, free: 9.762 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.3199, allocations: 43.44 kB / 350 MB, free: 9.719 MB / 286.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3199, allocations: 0 / 350 MB, free: 9.719 MB / 286.1 MB Notification: Performance of Templates: time 0.0137/0.3336, allocations: 8.234 MB / 358.2 MB, free: 1.473 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)