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.001645/0.001645, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001878/0.001878, allocations: 192.2 kB / 16.25 MB, free: 6.629 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.468/1.468, allocations: 205.1 MB / 222.1 MB, free: 4.742 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.001475/0.001475, allocations: 44.36 kB / 278.2 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.279, allocations: 46.63 MB / 324.8 MB, free: 2.293 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005543/0.2846, allocations: 3.684 MB / 328.5 MB, free: 15.38 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.2868, allocations: 1.019 MB / 329.5 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003163/0.2872, allocations: 4.438 kB / 329.6 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.2876, allocations: 90.45 kB / 329.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.2881, allocations: 172.9 kB / 329.8 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002604/0.2884, allocations: 108.9 kB / 329.9 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007536/0.2891, allocations: 0.6785 MB / 330.6 MB, free: 13.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003031/0.2894, allocations: 192.9 kB / 330.8 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003992/0.2898, allocations: 253.9 kB / 331 MB, free: 13.57 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004124/0.2903, allocations: 289.9 kB / 331.3 MB, free: 13.37 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.2904, allocations: 56.34 kB / 331.4 MB, free: 13.37 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.2905, allocations: 62.62 kB / 331.4 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.2906, allocations: 133.2 kB / 331.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003266/0.291, allocations: 311.7 kB / 331.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007935/0.2918, allocations: 0.6786 MB / 332.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2918, allocations: 4 kB / 332.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2918, allocations: 0 / 332.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.2918, allocations: 1.281 kB / 332.5 MB, free: 12.53 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.001837/0.2937, allocations: 0.8965 MB / 333.4 MB, free: 11.68 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.2937, allocations: 12.02 kB / 333.5 MB, free: 11.67 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.2939, allocations: 60.28 kB / 333.5 MB, free: 11.61 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.2946, allocations: 430.5 kB / 333.9 MB, free: 11.15 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.2948, allocations: 90.81 kB / 334 MB, free: 11.06 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/0.2949, allocations: 28.38 kB / 334.1 MB, free: 11.03 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009906/0.2959, allocations: 497.1 kB / 334.5 MB, free: 10.49 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.2959, allocations: 4 kB / 334.5 MB, free: 10.49 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.2959, allocations: 12 kB / 334.6 MB, free: 10.48 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.296, allocations: 8 kB / 334.6 MB, free: 10.47 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008653/0.2968, allocations: 370.3 kB / 334.9 MB, free: 10.11 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.002354/0.2992, allocations: 1.31 MB / 336.2 MB, free: 8.707 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008278/0.3, allocations: 383.5 kB / 336.6 MB, free: 8.305 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004494/0.3005, allocations: 197.9 kB / 336.8 MB, free: 8.109 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.675e-05/0.3005, allocations: 7.984 kB / 336.8 MB, free: 8.102 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.3006, allocations: 38.56 kB / 336.8 MB, free: 8.055 MB / 270.1 MB Notification: Performance of pre-optimization done (n=35): time 5.17e-06/0.3006, allocations: 0 / 336.8 MB, free: 8.055 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.001746/0.3024, allocations: 0.7664 MB / 337.6 MB, free: 7.238 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002128/0.3026, allocations: 448.9 kB / 338.1 MB, free: 6.695 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005031/0.3031, allocations: 458 kB / 338.5 MB, free: 6.234 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.3031, allocations: 37.7 kB / 338.5 MB, free: 6.191 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001884/0.3033, allocations: 240.4 kB / 338.8 MB, free: 5.953 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.3035, allocations: 122.2 kB / 338.9 MB, free: 5.832 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/0.3036, allocations: 73.69 kB / 339 MB, free: 5.754 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3038, allocations: 362.7 kB / 339.3 MB, free: 5.391 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.3042, allocations: 147.9 kB / 339.5 MB, free: 5.246 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.3047, allocations: 302.5 kB / 339.8 MB, free: 4.898 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008117/0.3055, allocations: 357.2 kB / 340.1 MB, free: 4.539 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.3056, allocations: 8 kB / 340.1 MB, free: 4.531 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00113/0.3067, allocations: 0.4937 MB / 340.6 MB, free: 4.02 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.547e-05/0.3068, allocations: 36.34 kB / 340.6 MB, free: 3.98 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3068, allocations: 0 / 340.6 MB, free: 3.98 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002193/0.307, allocations: 49.7 kB / 340.7 MB, free: 3.926 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.3075, allocations: 91.86 kB / 340.8 MB, free: 3.836 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003024/0.3105, allocations: 2.97 MB / 343.7 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.3111, allocations: 63.69 kB / 343.8 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.3111, allocations: 19.88 kB / 343.8 MB, free: 0.5039 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.0002509/0.3114, allocations: 169.7 kB / 344 MB, free: 336 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.562e-05/0.3115, allocations: 51.44 kB / 344 MB, free: 284 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.3116, allocations: 52.75 kB / 344.1 MB, free: 232 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3116, allocations: 4 kB / 344.1 MB, free: 228 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3116, allocations: 4 kB / 344.1 MB, free: 224 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00101/0.3126, allocations: 0.762 MB / 344.9 MB, free: 15.35 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.3143, allocations: 1.028 MB / 345.9 MB, free: 14.26 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.3143, allocations: 0 / 345.9 MB, free: 14.26 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004545/0.3148, allocations: 91.88 kB / 346 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.3148, allocations: 4 kB / 346 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.3148, allocations: 15.92 kB / 346 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3148, allocations: 0 / 346 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.3148, allocations: 0 / 346 MB, free: 14.15 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.3163, allocations: 0.6908 MB / 346.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.3165, allocations: 172.4 kB / 346.9 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.785e-05/0.3165, allocations: 11.94 kB / 346.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.3169, allocations: 39.95 kB / 346.9 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.088e-05/0.317, allocations: 19.97 kB / 346.9 MB, free: 13.19 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.3171, allocations: 8 kB / 346.9 MB, free: 13.18 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003495/0.3174, allocations: 331.2 kB / 347.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3174, allocations: 0 / 347.3 MB, free: 12.86 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004704/0.3179, allocations: 143.7 kB / 347.4 MB, free: 12.72 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.0001433/0.318, allocations: 103.5 kB / 347.5 MB, free: 12.61 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001333/0.3194, allocations: 0.6799 MB / 348.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3194, allocations: 64 / 348.2 MB, free: 11.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004148/0.3198, allocations: 191.8 kB / 348.4 MB, free: 11.7 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007778/0.3206, allocations: 141.9 kB / 348.5 MB, free: 11.56 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.3224, allocations: 1.086 MB / 349.6 MB, free: 10.45 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.3228, allocations: 0.8273 MB / 350.4 MB, free: 9.594 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002821/0.3231, allocations: 64.34 kB / 350.5 MB, free: 9.527 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.3232, allocations: 47.38 kB / 350.5 MB, free: 9.48 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3232, allocations: 0 / 350.5 MB, free: 9.48 MB / 286.1 MB Notification: Performance of Templates: time 0.01438/0.3376, allocations: 8.692 MB / 359.2 MB, free: 0.7773 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)