Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001566/0.001566, allocations: 168.7 kB / 15.95 MB, free: 204 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.545/1.545, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0005125/0.0005129, allocations: 15.97 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2942, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005131/0.2994, allocations: 4.402 MB / 330.9 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.3018, allocations: 1.221 MB / 332.1 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.3021, allocations: 11.53 kB / 332.1 MB, free: 12.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003255/0.3025, allocations: 107.9 kB / 332.2 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005704/0.3031, allocations: 279.8 kB / 332.5 MB, free: 12.57 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.3034, allocations: 167 kB / 332.7 MB, free: 12.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.3046, allocations: 1.035 MB / 333.7 MB, free: 11.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004689/0.3051, allocations: 276.4 kB / 334 MB, free: 11.62 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005125/0.3056, allocations: 395.7 kB / 334.3 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.3061, allocations: 458.3 kB / 334.8 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001216/0.3063, allocations: 66.88 kB / 334.9 MB, free: 11.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.3064, allocations: 68 kB / 334.9 MB, free: 11.02 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.3066, allocations: 179.3 kB / 335.1 MB, free: 10.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.3068, allocations: 205.2 kB / 335.3 MB, free: 10.64 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007357/0.3075, allocations: 0.8764 MB / 336.2 MB, free: 9.758 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.3075, allocations: 0 / 336.2 MB, free: 9.758 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3075, allocations: 0 / 336.2 MB, free: 9.758 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.267e-06/0.3076, allocations: 0 / 336.2 MB, free: 9.758 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002087/0.3096, allocations: 1.208 MB / 337.4 MB, free: 8.48 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.3097, allocations: 12.03 kB / 337.4 MB, free: 8.469 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.3099, allocations: 110.8 kB / 337.5 MB, free: 8.359 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008658/0.3108, allocations: 0.563 MB / 338.1 MB, free: 7.758 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003015/0.3111, allocations: 174.4 kB / 338.2 MB, free: 7.566 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.052e-05/0.3112, allocations: 56 kB / 338.3 MB, free: 7.512 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.3127, allocations: 0.8744 MB / 339.2 MB, free: 6.535 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.3127, allocations: 0 / 339.2 MB, free: 6.535 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.96e-05/0.3128, allocations: 32 kB / 339.2 MB, free: 6.504 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.3128, allocations: 12 kB / 339.2 MB, free: 6.492 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001452/0.3143, allocations: 0.6609 MB / 339.9 MB, free: 5.828 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.003202/0.3175, allocations: 2.077 MB / 341.9 MB, free: 3.648 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.3189, allocations: 0.8819 MB / 342.8 MB, free: 2.707 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008151/0.3197, allocations: 422.5 kB / 343.2 MB, free: 2.293 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.936e-05/0.3198, allocations: 24.56 kB / 343.3 MB, free: 2.27 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.3198, allocations: 47.22 kB / 343.3 MB, free: 2.215 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.044e-06/0.3198, allocations: 3.938 kB / 343.3 MB, free: 2.211 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.00493/0.3248, allocations: 1.98 MB / 345.3 MB, free: 140 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005393/0.3253, allocations: 0.8234 MB / 346.1 MB, free: 15.12 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007598/0.3261, allocations: 0.6293 MB / 346.7 MB, free: 14.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.734e-05/0.3262, allocations: 45.7 kB / 346.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.3265, allocations: 329 kB / 347.1 MB, free: 14.1 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002252/0.3267, allocations: 256.2 kB / 347.4 MB, free: 13.85 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.217e-05/0.3267, allocations: 20 kB / 347.4 MB, free: 13.83 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.327, allocations: 390.6 kB / 347.8 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006862/0.3277, allocations: 301.8 kB / 348.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009367/0.3286, allocations: 0.5781 MB / 348.6 MB, free: 12.47 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/0.3294, allocations: 427.9 kB / 349.1 MB, free: 12.03 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3294, allocations: 3.953 kB / 349.1 MB, free: 12.03 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00253/0.3319, allocations: 1.196 MB / 350.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.117e-05/0.332, allocations: 89.06 kB / 350.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.332, allocations: 0 / 350.3 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006824/0.3327, allocations: 255.2 kB / 350.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006035/0.3333, allocations: 147.8 kB / 350.7 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007619/0.341, allocations: 6.488 MB / 357.2 MB, free: 3.254 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008136/0.3418, allocations: 123.3 kB / 357.3 MB, free: 3.133 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.3419, allocations: 24 kB / 357.4 MB, free: 3.109 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003909/0.3423, allocations: 221.7 kB / 357.6 MB, free: 2.883 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.3424, allocations: 90.97 kB / 357.7 MB, free: 2.793 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.3427, allocations: 91.33 kB / 357.8 MB, free: 2.699 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.3427, allocations: 8 kB / 357.8 MB, free: 2.691 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.3427, allocations: 0 / 357.8 MB, free: 2.691 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002569/0.3453, allocations: 1.342 MB / 359.1 MB, free: 1.234 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004135/0.3494, allocations: 2.019 MB / 361.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3494, allocations: 0 / 361.1 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006831/0.3501, allocations: 155.8 kB / 361.3 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005518/0.3507, allocations: 218.4 kB / 361.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/0.3508, allocations: 19.98 kB / 361.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006219/0.357, allocations: 5.051 MB / 366.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.357, allocations: 0 / 366.6 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003581/0.3606, allocations: 1.523 MB / 368.1 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/0.3612, allocations: 247.9 kB / 368.3 MB, free: 7.488 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.3614, allocations: 19.92 kB / 368.4 MB, free: 7.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007592/0.3622, allocations: 63.95 kB / 368.4 MB, free: 7.406 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/0.3624, allocations: 64.56 kB / 368.5 MB, free: 7.344 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.3625, allocations: 23.98 kB / 368.5 MB, free: 7.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006719/0.3631, allocations: 447.1 kB / 368.9 MB, free: 6.891 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3632, allocations: 0 / 368.9 MB, free: 6.891 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001091/0.3643, allocations: 279.7 kB / 369.2 MB, free: 6.617 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001967/0.3645, allocations: 131.1 kB / 369.3 MB, free: 6.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.367, allocations: 1.399 MB / 370.7 MB, free: 4.992 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/0.367, allocations: 4 kB / 370.7 MB, free: 4.988 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00146/0.3685, allocations: 0.816 MB / 371.6 MB, free: 4.137 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.3697, allocations: 230.7 kB / 371.8 MB, free: 3.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003469/0.3731, allocations: 1.908 MB / 373.7 MB, free: 1.969 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.3737, allocations: 0.9362 MB / 374.6 MB, free: 1.008 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005084/0.3743, allocations: 106.4 kB / 374.7 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001738/0.3744, allocations: 59.44 kB / 374.8 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of SimCode: time 1.393e-06/0.3744, allocations: 0 / 374.8 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of Templates: time 0.02966/0.4041, allocations: 16.24 MB / 391 MB, free: 0.5742 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1)