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.001409/0.00141, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001824/0.001824, allocations: 188.1 kB / 16.13 MB, free: 6.66 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.509/1.509, allocations: 205.1 MB / 222 MB, free: 4.766 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.001357/0.001357, allocations: 59.92 kB / 278 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2931, allocations: 46.62 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.00627/0.2994, allocations: 5.048 MB / 329.7 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002835/0.3023, allocations: 1.343 MB / 331.1 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003668/0.3027, allocations: 15.31 kB / 331.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.3032, allocations: 121.5 kB / 331.2 MB, free: 12.71 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006258/0.3038, allocations: 286.4 kB / 331.5 MB, free: 12.46 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.3043, allocations: 200 kB / 331.7 MB, free: 12.29 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.3054, allocations: 1.123 MB / 332.8 MB, free: 11.62 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004171/0.3058, allocations: 283.5 kB / 333.1 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004833/0.3063, allocations: 422 kB / 333.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004914/0.3068, allocations: 498.2 kB / 334 MB, free: 10.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.3069, allocations: 72 kB / 334 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.3071, allocations: 76 kB / 334.1 MB, free: 10.67 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.3073, allocations: 183.3 kB / 334.3 MB, free: 10.49 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004425/0.3077, allocations: 497.6 kB / 334.8 MB, free: 10 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009399/0.3087, allocations: 1.164 MB / 335.9 MB, free: 8.836 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3087, allocations: 0 / 335.9 MB, free: 8.836 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3087, allocations: 0 / 335.9 MB, free: 8.836 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.3087, allocations: 0 / 335.9 MB, free: 8.836 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.002355/0.3111, allocations: 1.333 MB / 337.3 MB, free: 7.43 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3111, allocations: 12.03 kB / 337.3 MB, free: 7.418 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.3113, allocations: 111.7 kB / 337.4 MB, free: 7.309 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008505/0.3122, allocations: 0.5871 MB / 338 MB, free: 6.684 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003117/0.3125, allocations: 166.9 kB / 338.1 MB, free: 6.504 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-05/0.3126, allocations: 60.12 kB / 338.2 MB, free: 6.445 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.314, allocations: 0.8626 MB / 339.1 MB, free: 5.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.314, allocations: 0 / 339.1 MB, free: 5.48 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.309e-05/0.3141, allocations: 28 kB / 339.1 MB, free: 5.453 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.3141, allocations: 12 kB / 339.1 MB, free: 5.441 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.3155, allocations: 0.6258 MB / 339.7 MB, free: 4.812 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.00302/0.3186, allocations: 2.073 MB / 341.8 MB, free: 2.633 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.3199, allocations: 0.8585 MB / 342.7 MB, free: 1.715 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007887/0.3207, allocations: 406.5 kB / 343.1 MB, free: 1.316 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.902e-05/0.3208, allocations: 20.56 kB / 343.1 MB, free: 1.297 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.3208, allocations: 51.22 kB / 343.1 MB, free: 1.238 MB / 270.1 MB Notification: Performance of pre-optimization done (n=73): time 2.214e-06/0.3208, allocations: 4 kB / 343.1 MB, free: 1.234 MB / 270.1 MB Notification: Performance of matching and sorting (n=73): time 0.005099/0.3259, allocations: 1.828 MB / 345 MB, free: 15.31 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003333/0.3263, allocations: 0.8234 MB / 345.8 MB, free: 14.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007506/0.327, allocations: 0.6332 MB / 346.4 MB, free: 13.65 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.169e-05/0.3271, allocations: 41.7 kB / 346.5 MB, free: 13.61 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.3274, allocations: 329 kB / 346.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.3276, allocations: 260.2 kB / 347 MB, free: 13.02 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002236/0.3278, allocations: 146.7 kB / 347.2 MB, free: 12.87 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.328, allocations: 394.7 kB / 347.6 MB, free: 12.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006684/0.3287, allocations: 281.8 kB / 347.8 MB, free: 12.2 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008974/0.3296, allocations: 0.5663 MB / 348.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.3309, allocations: 0.7011 MB / 349.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3309, allocations: 0 / 349.1 MB, free: 10.81 MB / 286.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002676/0.3336, allocations: 1.122 MB / 350.2 MB, free: 9.645 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.411e-05/0.3337, allocations: 85.11 kB / 350.3 MB, free: 9.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.3337, allocations: 4 kB / 350.3 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00077/0.3345, allocations: 247.1 kB / 350.6 MB, free: 9.285 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006782/0.3352, allocations: 147.8 kB / 350.7 MB, free: 9.141 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007889/0.3431, allocations: 6.371 MB / 357.1 MB, free: 2.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.3443, allocations: 111.3 kB / 357.2 MB, free: 2.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.473e-05/0.3444, allocations: 23.98 kB / 357.2 MB, free: 2.102 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 (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00047/0.3449, allocations: 218.3 kB / 357.4 MB, free: 1.879 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.3451, allocations: 83.06 kB / 357.5 MB, free: 1.797 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002114/0.3453, allocations: 95.33 kB / 357.6 MB, free: 1.699 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.3453, allocations: 8.234 kB / 357.6 MB, free: 1.691 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/0.3453, allocations: 4 kB / 357.6 MB, free: 1.688 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00265/0.348, allocations: 1.264 MB / 358.9 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003832/0.3518, allocations: 1.953 MB / 360.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3518, allocations: 0 / 360.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007066/0.3525, allocations: 143.8 kB / 361 MB, free: 14.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005522/0.3531, allocations: 198.4 kB / 361.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.3532, allocations: 12 kB / 361.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006213/0.3594, allocations: 4.914 MB / 366.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3594, allocations: 0 / 366.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003469/0.3629, allocations: 1.429 MB / 367.5 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004114/0.3633, allocations: 239.8 kB / 367.7 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.3634, allocations: 20 kB / 367.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006651/0.3641, allocations: 55.94 kB / 367.8 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001817/0.3643, allocations: 60.5 kB / 367.9 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.235e-05/0.3644, allocations: 23.98 kB / 367.9 MB, free: 6.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006035/0.365, allocations: 459.1 kB / 368.3 MB, free: 6.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.365, allocations: 0 / 368.3 MB, free: 6.309 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009811/0.366, allocations: 283.6 kB / 368.6 MB, free: 6.031 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 (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00018/0.3661, allocations: 127 kB / 368.7 MB, free: 5.898 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002284/0.3684, allocations: 1.367 MB / 370.1 MB, free: 4.445 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3685, allocations: 4 kB / 370.1 MB, free: 4.441 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001331/0.3698, allocations: 0.773 MB / 370.9 MB, free: 3.629 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000988/0.3708, allocations: 227 kB / 371.1 MB, free: 3.402 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.3738, allocations: 1.892 MB / 373 MB, free: 1.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005088/0.3743, allocations: 0.9401 MB / 373.9 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004474/0.3747, allocations: 102.4 kB / 374 MB, free: 420 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.3749, allocations: 63.42 kB / 374.1 MB, free: 356 kB / 302.1 MB Notification: Performance of SimCode: time 1.163e-06/0.3749, allocations: 0 / 374.1 MB, free: 356 kB / 302.1 MB Notification: Performance of Templates: time 0.02669/0.4016, allocations: 17.02 MB / 391.1 MB, free: 15.3 MB / 334.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)