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.000826/0.0008259, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.004988/0.004988, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.542/1.542, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.0005509/0.0005509, allocations: 16.31 kB / 279.4 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2753, allocations: 47.57 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003691/0.279, allocations: 3.32 MB / 330.3 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.281, allocations: 0.9437 MB / 331.3 MB, free: 13.98 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002563/0.2813, allocations: 17.09 kB / 331.3 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003377/0.2816, allocations: 85.39 kB / 331.4 MB, free: 13.9 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004414/0.2821, allocations: 166.2 kB / 331.5 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.2824, allocations: 119.9 kB / 331.7 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007764/0.2832, allocations: 0.6445 MB / 332.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/0.2835, allocations: 173.7 kB / 332.5 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.2838, allocations: 239.3 kB / 332.7 MB, free: 13.05 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003733/0.2842, allocations: 268.4 kB / 333 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.519e-05/0.2843, allocations: 35.22 kB / 333 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.857e-05/0.2844, allocations: 36.22 kB / 333 MB, free: 12.87 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.2845, allocations: 106.1 kB / 333.1 MB, free: 12.78 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.2849, allocations: 307.5 kB / 333.4 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007654/0.2856, allocations: 0.653 MB / 334.1 MB, free: 12.08 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.2857, allocations: 0.9688 kB / 334.1 MB, free: 12.08 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.2857, allocations: 0 / 334.1 MB, free: 12.08 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.512e-05/0.2857, allocations: 0 / 334.1 MB, free: 12.08 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.001477/0.2872, allocations: 0.8087 MB / 334.9 MB, free: 11.39 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.2872, allocations: 8.719 kB / 334.9 MB, free: 11.39 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.2874, allocations: 66.72 kB / 335 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.288, allocations: 433.9 kB / 335.4 MB, free: 10.91 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.2883, allocations: 98.8 kB / 335.5 MB, free: 10.8 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.2884, allocations: 28.38 kB / 335.5 MB, free: 10.78 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009497/0.2893, allocations: 0.5049 MB / 336 MB, free: 10.22 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.2893, allocations: 0 / 336 MB, free: 10.22 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.2894, allocations: 16 kB / 336 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.2894, allocations: 8 kB / 336.1 MB, free: 10.2 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009473/0.2904, allocations: 386.4 kB / 336.4 MB, free: 9.816 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.00214/0.2925, allocations: 1.306 MB / 337.7 MB, free: 8.422 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007778/0.2933, allocations: 407.4 kB / 338.1 MB, free: 7.996 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.2938, allocations: 202 kB / 338.3 MB, free: 7.797 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.2939, allocations: 4 kB / 338.3 MB, free: 7.793 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.833e-05/0.2939, allocations: 46.48 kB / 338.4 MB, free: 7.738 MB / 270.1 MB Notification: Performance of pre-optimization done (n=35): time 2.043e-06/0.294, allocations: 0 / 338.4 MB, free: 7.738 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.001931/0.2959, allocations: 0.7901 MB / 339.2 MB, free: 6.898 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003231/0.2962, allocations: 444.9 kB / 339.6 MB, free: 6.359 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006251/0.2969, allocations: 461.9 kB / 340.1 MB, free: 5.898 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.2969, allocations: 33.7 kB / 340.1 MB, free: 5.859 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.2971, allocations: 240.4 kB / 340.3 MB, free: 5.621 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.2972, allocations: 122.3 kB / 340.4 MB, free: 5.5 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.626e-05/0.2973, allocations: 37.64 kB / 340.5 MB, free: 5.457 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.2975, allocations: 362.7 kB / 340.8 MB, free: 5.094 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004681/0.298, allocations: 155.9 kB / 341 MB, free: 4.941 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006007/0.2986, allocations: 306.6 kB / 341.3 MB, free: 4.586 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008942/0.2995, allocations: 393.1 kB / 341.7 MB, free: 4.191 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.2995, allocations: 0 / 341.7 MB, free: 4.191 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001096/0.3006, allocations: 0.5174 MB / 342.2 MB, free: 3.656 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.3007, allocations: 33.7 kB / 342.2 MB, free: 3.617 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.3007, allocations: 11.81 kB / 342.2 MB, free: 3.605 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001761/0.3009, allocations: 53.69 kB / 342.3 MB, free: 3.547 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.3013, allocations: 91.88 kB / 342.4 MB, free: 3.457 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.3038, allocations: 2.744 MB / 345.1 MB, free: 452 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005433/0.3043, allocations: 67.69 kB / 345.2 MB, free: 384 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.3044, allocations: 8 kB / 345.2 MB, free: 376 kB / 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.0002526/0.3046, allocations: 173.7 kB / 345.4 MB, free: 192 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.3047, allocations: 59.28 kB / 345.4 MB, free: 132 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.3048, allocations: 56.75 kB / 345.5 MB, free: 76 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3049, allocations: 4.234 kB / 345.5 MB, free: 72 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3049, allocations: 0 / 345.5 MB, free: 72 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/0.3061, allocations: 0.7828 MB / 346.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.308, allocations: 1.06 MB / 347.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.308, allocations: 0 / 347.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.3084, allocations: 95.88 kB / 347.4 MB, free: 13.97 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3084, allocations: 4 kB / 347.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.3085, allocations: 7.984 kB / 347.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.3085, allocations: 4 kB / 347.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3085, allocations: 4 kB / 347.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.3099, allocations: 0.7139 MB / 348.2 MB, free: 13.22 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.3102, allocations: 164.5 kB / 348.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.145e-05/0.3102, allocations: 12 kB / 348.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.3107, allocations: 44.02 kB / 348.4 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.297e-05/0.3107, allocations: 19.97 kB / 348.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.3108, allocations: 12 kB / 348.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004464/0.3112, allocations: 327.1 kB / 348.7 MB, free: 12.64 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3112, allocations: 0 / 348.7 MB, free: 12.64 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004516/0.3117, allocations: 143.7 kB / 348.9 MB, free: 12.5 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.0001444/0.3118, allocations: 111.5 kB / 349 MB, free: 12.38 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.3131, allocations: 0.6843 MB / 349.7 MB, free: 11.65 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3132, allocations: 8 kB / 349.7 MB, free: 11.64 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005074/0.3137, allocations: 191.8 kB / 349.8 MB, free: 11.46 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.3144, allocations: 141.8 kB / 350 MB, free: 11.32 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.3161, allocations: 1.166 MB / 351.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.3165, allocations: 0.8314 MB / 352 MB, free: 9.273 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002809/0.3168, allocations: 60.34 kB / 352 MB, free: 9.211 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.317, allocations: 39.44 kB / 352.1 MB, free: 9.172 MB / 286.1 MB Notification: Performance of SimCode: time 6.91e-07/0.317, allocations: 0 / 352.1 MB, free: 9.172 MB / 286.1 MB Notification: Performance of Templates: time 0.01448/0.3315, allocations: 8.175 MB / 360.3 MB, free: 0.9844 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)