Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001157/0.001157, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.437/1.437, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001504/0.001504, allocations: 55.92 kB / 278.7 MB, free: 12.39 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2817, allocations: 46.64 MB / 325.3 MB, free: 1.895 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005036/0.2868, allocations: 3.648 MB / 329 MB, free: 15 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002029/0.2889, allocations: 1.022 MB / 330 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.2891, allocations: 5.5 kB / 330 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.2895, allocations: 113.2 kB / 330.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.29, allocations: 196.8 kB / 330.3 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.2902, allocations: 127.7 kB / 330.4 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007905/0.291, allocations: 0.675 MB / 331.1 MB, free: 13.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.2914, allocations: 197.5 kB / 331.3 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003226/0.2917, allocations: 254.6 kB / 331.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003434/0.2921, allocations: 292.5 kB / 331.8 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.85e-05/0.2922, allocations: 56.78 kB / 331.9 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.2923, allocations: 58.81 kB / 331.9 MB, free: 12.91 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.2924, allocations: 129.8 kB / 332.1 MB, free: 12.8 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003173/0.2928, allocations: 310.8 kB / 332.4 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007055/0.2935, allocations: 0.6828 MB / 333 MB, free: 12.08 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2935, allocations: 0 / 333 MB, free: 12.08 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.2935, allocations: 4 kB / 333 MB, free: 12.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.2935, allocations: 1.625 kB / 333 MB, free: 12.07 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.001603/0.2951, allocations: 0.8978 MB / 333.9 MB, free: 11.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.2952, allocations: 8.031 kB / 334 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.2953, allocations: 64.28 kB / 334 MB, free: 11.16 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006701/0.296, allocations: 426.5 kB / 334.4 MB, free: 10.71 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.2962, allocations: 82.88 kB / 334.5 MB, free: 10.62 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.2963, allocations: 32.38 kB / 334.5 MB, free: 10.59 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008835/0.2972, allocations: 0.4932 MB / 335 MB, free: 10.05 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.2972, allocations: 0 / 335 MB, free: 10.05 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.078e-05/0.2973, allocations: 16 kB / 335.1 MB, free: 10.03 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.2973, allocations: 8 kB / 335.1 MB, free: 10.02 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009013/0.2982, allocations: 362.4 kB / 335.4 MB, free: 9.664 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.001952/0.3001, allocations: 1.302 MB / 336.7 MB, free: 8.273 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007427/0.3009, allocations: 387.5 kB / 337.1 MB, free: 7.867 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004636/0.3014, allocations: 197.9 kB / 337.3 MB, free: 7.672 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.3014, allocations: 7.984 kB / 337.3 MB, free: 7.664 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.3015, allocations: 38.56 kB / 337.3 MB, free: 7.617 MB / 270.1 MB Notification: Performance of pre-optimization done (n=35): time 1.553e-06/0.3015, allocations: 0 / 337.3 MB, free: 7.617 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.001708/0.3032, allocations: 0.7626 MB / 338.1 MB, free: 6.805 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/0.3034, allocations: 452.8 kB / 338.5 MB, free: 6.258 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.3039, allocations: 454 kB / 339 MB, free: 5.801 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.973e-05/0.3039, allocations: 41.7 kB / 339 MB, free: 5.754 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3041, allocations: 240.4 kB / 339.3 MB, free: 5.516 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.798e-05/0.3042, allocations: 122.2 kB / 339.4 MB, free: 5.395 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.3044, allocations: 73.69 kB / 339.4 MB, free: 5.316 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3045, allocations: 358.7 kB / 339.8 MB, free: 4.957 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004147/0.3049, allocations: 155.9 kB / 340 MB, free: 4.805 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.3055, allocations: 294.6 kB / 340.2 MB, free: 4.465 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008325/0.3063, allocations: 369 kB / 340.6 MB, free: 4.094 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3064, allocations: 0 / 340.6 MB, free: 4.094 MB / 270.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001052/0.3074, allocations: 0.4976 MB / 341.1 MB, free: 3.578 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.3075, allocations: 33.7 kB / 341.1 MB, free: 3.539 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3075, allocations: 4 kB / 341.1 MB, free: 3.535 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001665/0.3076, allocations: 49.69 kB / 341.2 MB, free: 3.48 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.3081, allocations: 95.88 kB / 341.3 MB, free: 3.387 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.3104, allocations: 2.954 MB / 344.2 MB, free: 156 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/0.3109, allocations: 63.69 kB / 344.3 MB, free: 92 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.3109, allocations: 15.94 kB / 344.3 MB, free: 76 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.0002197/0.3111, allocations: 165.8 kB / 344.5 MB, free: 15.9 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/0.3112, allocations: 59.38 kB / 344.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.3114, allocations: 52.75 kB / 344.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.3114, allocations: 4 kB / 344.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3114, allocations: 0 / 344.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001047/0.3124, allocations: 0.7659 MB / 345.3 MB, free: 14.92 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.3141, allocations: 1.028 MB / 346.4 MB, free: 13.83 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3141, allocations: 0 / 346.4 MB, free: 13.83 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/0.3146, allocations: 95.86 kB / 346.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.3146, allocations: 4.234 kB / 346.5 MB, free: 13.73 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.3146, allocations: 7.938 kB / 346.5 MB, free: 13.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.3146, allocations: 12 kB / 346.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3146, allocations: 0 / 346.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001362/0.316, allocations: 0.6908 MB / 347.2 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.3162, allocations: 164.5 kB / 347.3 MB, free: 12.82 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.176e-05/0.3163, allocations: 15.88 kB / 347.4 MB, free: 12.81 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003879/0.3167, allocations: 39.95 kB / 347.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.026e-05/0.3168, allocations: 23.91 kB / 347.4 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.3168, allocations: 8 kB / 347.4 MB, free: 12.74 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003768/0.3172, allocations: 327.1 kB / 347.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3172, allocations: 64 / 347.8 MB, free: 12.42 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004534/0.3176, allocations: 143.8 kB / 347.9 MB, free: 12.28 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.0001287/0.3178, allocations: 103.5 kB / 348 MB, free: 12.17 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001326/0.3191, allocations: 0.6837 MB / 348.7 MB, free: 11.45 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3191, allocations: 4 kB / 348.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004316/0.3196, allocations: 183.9 kB / 348.9 MB, free: 11.26 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007435/0.3203, allocations: 148.7 kB / 349 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.3219, allocations: 0.9339 MB / 349.9 MB, free: 10.16 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.3223, allocations: 0.8313 MB / 350.8 MB, free: 9.297 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002288/0.3225, allocations: 60.36 kB / 350.8 MB, free: 9.234 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3226, allocations: 43.42 kB / 350.9 MB, free: 9.191 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3227, allocations: 0 / 350.9 MB, free: 9.191 MB / 286.1 MB Notification: Performance of Templates: time 0.01447/0.3371, allocations: 8.914 MB / 359.8 MB, free: 272 kB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1)