Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.TestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009026/0.0009024, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00764/0.00764, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.661/1.661, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.0004724/0.0004724, allocations: 8 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2902, allocations: 47.59 MB / 327 MB, free: 1.367 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.0035/0.2937, allocations: 2.528 MB / 329.6 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.2962, allocations: 1.095 MB / 330.6 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000173/0.2964, allocations: 4.125 kB / 330.7 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.297, allocations: 165.7 kB / 330.8 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004425/0.2975, allocations: 184.8 kB / 331 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003971/0.2979, allocations: 126.7 kB / 331.1 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000627/0.2985, allocations: 432.8 kB / 331.5 MB, free: 13.92 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.2987, allocations: 92.91 kB / 331.6 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.299, allocations: 169.4 kB / 331.8 MB, free: 13.79 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003222/0.2993, allocations: 194.1 kB / 332 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.143e-05/0.2994, allocations: 19.88 kB / 332 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002012/0.2996, allocations: 57.91 kB / 332.1 MB, free: 13.66 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.2998, allocations: 73.72 kB / 332.1 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003027/0.3001, allocations: 215.5 kB / 332.3 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006422/0.3007, allocations: 461.4 kB / 332.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.3007, allocations: 1.312 kB / 332.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.3008, allocations: 0 / 332.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.3008, allocations: 0 / 332.8 MB, free: 13.12 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00118/0.302, allocations: 0.6242 MB / 333.4 MB, free: 12.55 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/0.302, allocations: 9.344 kB / 333.4 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.3022, allocations: 44.59 kB / 333.5 MB, free: 12.53 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/0.3027, allocations: 347.1 kB / 333.8 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/0.3027, allocations: 17.22 kB / 333.8 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.463e-05/0.3028, allocations: 24.31 kB / 333.9 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.3033, allocations: 290.5 kB / 334.1 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.3034, allocations: 4 kB / 334.1 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.3034, allocations: 8.406 kB / 334.2 MB, free: 11.94 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3034, allocations: 4.312 kB / 334.2 MB, free: 11.94 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003244/0.3038, allocations: 146.9 kB / 334.3 MB, free: 11.88 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.001503/0.3053, allocations: 0.8295 MB / 335.1 MB, free: 11.05 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.3057, allocations: 187.1 kB / 335.3 MB, free: 10.86 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.3059, allocations: 84.81 kB / 335.4 MB, free: 10.77 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.999e-05/0.3059, allocations: 7.984 kB / 335.4 MB, free: 10.76 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000318/0.3063, allocations: 139.3 kB / 335.5 MB, free: 10.61 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 1.784e-06/0.3063, allocations: 0 / 335.5 MB, free: 10.61 MB / 270.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008587/0.3071, allocations: 407.4 kB / 335.9 MB, free: 10.19 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001487/0.3073, allocations: 320.3 kB / 336.2 MB, free: 9.801 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.3077, allocations: 429.7 kB / 336.7 MB, free: 9.375 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.3078, allocations: 33.7 kB / 336.7 MB, free: 9.336 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.3079, allocations: 200.2 kB / 336.9 MB, free: 9.137 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.571e-05/0.308, allocations: 78.84 kB / 337 MB, free: 9.059 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.3081, allocations: 25.7 kB / 337 MB, free: 9.027 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3082, allocations: 350.8 kB / 337.3 MB, free: 8.676 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.3084, allocations: 67.97 kB / 337.4 MB, free: 8.609 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.3086, allocations: 175.9 kB / 337.6 MB, free: 8.395 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.3089, allocations: 175.2 kB / 337.7 MB, free: 8.211 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.3089, allocations: 3.938 kB / 337.8 MB, free: 8.207 MB / 270.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004427/0.3093, allocations: 277.8 kB / 338 MB, free: 7.926 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3094, allocations: 4 kB / 338 MB, free: 7.922 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3094, allocations: 4.094 kB / 338 MB, free: 7.918 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.3095, allocations: 32.84 kB / 338.1 MB, free: 7.883 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.3097, allocations: 51.91 kB / 338.1 MB, free: 7.832 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.3111, allocations: 1.452 MB / 339.6 MB, free: 6.238 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.3114, allocations: 27.69 kB / 339.6 MB, free: 6.211 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.3114, allocations: 12 kB / 339.6 MB, free: 6.199 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002042/0.3116, allocations: 165.8 kB / 339.8 MB, free: 6.027 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.3117, allocations: 39.53 kB / 339.8 MB, free: 5.988 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.178e-05/0.3118, allocations: 47.58 kB / 339.9 MB, free: 5.938 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3118, allocations: 4 kB / 339.9 MB, free: 5.934 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.3118, allocations: 0 / 339.9 MB, free: 5.934 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005434/0.3124, allocations: 0.5831 MB / 340.4 MB, free: 5.246 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009351/0.3133, allocations: 0.7039 MB / 341.1 MB, free: 4.48 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.3133, allocations: 0 / 341.1 MB, free: 4.48 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.3135, allocations: 51.84 kB / 341.2 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.3135, allocations: 0 / 341.2 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.3136, allocations: 8 kB / 341.2 MB, free: 4.422 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.3136, allocations: 4 kB / 341.2 MB, free: 4.418 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3136, allocations: 0 / 341.2 MB, free: 4.418 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005406/0.3141, allocations: 390.9 kB / 341.6 MB, free: 4.02 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.3143, allocations: 144.5 kB / 341.7 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.3143, allocations: 8 kB / 341.7 MB, free: 3.852 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.3146, allocations: 27.98 kB / 341.8 MB, free: 3.824 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.3146, allocations: 11.98 kB / 341.8 MB, free: 3.812 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.3147, allocations: 4 kB / 341.8 MB, free: 3.809 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.000374/0.315, allocations: 315.1 kB / 342.1 MB, free: 3.508 MB / 270.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3151, allocations: 4 kB / 342.1 MB, free: 3.504 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004476/0.3155, allocations: 95.92 kB / 342.2 MB, free: 3.41 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001176/0.3167, allocations: 409.3 kB / 342.6 MB, free: 3.008 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008081/0.3175, allocations: 303.1 kB / 342.9 MB, free: 2.699 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/0.3175, allocations: 8 kB / 342.9 MB, free: 2.691 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.3177, allocations: 87.62 kB / 343 MB, free: 2.605 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006855/0.3184, allocations: 93.58 kB / 343.1 MB, free: 2.512 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/0.3201, allocations: 0.9721 MB / 344 MB, free: 1.516 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.3205, allocations: 0.7962 MB / 344.8 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.000178/0.3207, allocations: 50.92 kB / 344.9 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/0.3208, allocations: 31.44 kB / 344.9 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of SimCode: time 3.266e-06/0.3208, allocations: 0 / 344.9 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of Templates: time 0.01117/0.332, allocations: 5.737 MB / 350.7 MB, free: 10.87 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1)