Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.EmptyTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.EmptyTanks") translateModel(Modelica.Fluid.Examples.Tanks.EmptyTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.EmptyTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001053/0.001053, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.471/1.471, allocations: 194.3 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001748/0.001748, allocations: 124.7 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.442e-05/2.444e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0722/0.07224, allocations: 44.49 MB / 349.4 MB, free: 1.262 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7095/0.7818, allocations: 316.4 MB / 0.6503 GB, free: 56.53 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.782, allocations: 74.84 kB / 0.6503 GB, free: 56.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4672/1.249, allocations: 130.3 MB / 0.7775 GB, free: 99.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.774e-06/1.249, allocations: 0 / 0.7775 GB, free: 99.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.161e-05/1.249, allocations: 23.94 kB / 0.7776 GB, free: 99.96 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002606/1.252, allocations: 1.076 MB / 0.7786 GB, free: 98.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/1.252, allocations: 11.97 kB / 0.7786 GB, free: 98.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003301/1.252, allocations: 99 kB / 0.7787 GB, free: 98.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001265/1.254, allocations: 0.6433 MB / 0.7794 GB, free: 98.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.34e-05/1.254, allocations: 106 kB / 0.7795 GB, free: 97.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/1.254, allocations: 56.69 kB / 0.7795 GB, free: 97.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/1.255, allocations: 0.8796 MB / 0.7804 GB, free: 97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/1.255, allocations: 3.984 kB / 0.7804 GB, free: 97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/1.255, allocations: 27.98 kB / 0.7804 GB, free: 96.98 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.644e-05/1.255, allocations: 53.23 kB / 0.7804 GB, free: 96.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/1.256, allocations: 0.8094 MB / 0.7812 GB, free: 96.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004708/1.261, allocations: 3.312 MB / 0.7845 GB, free: 92.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008208/1.262, allocations: 0.6492 MB / 0.7851 GB, free: 92.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000408/1.262, allocations: 366.3 kB / 0.7855 GB, free: 91.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002346/1.265, allocations: 2.07 MB / 0.7875 GB, free: 89.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/1.265, allocations: 39.12 kB / 0.7875 GB, free: 89.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 2.164e-06/1.265, allocations: 0 / 0.7875 GB, free: 89.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.004049/1.269, allocations: 2.205 MB / 0.7897 GB, free: 87.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/1.269, allocations: 97.61 kB / 0.7898 GB, free: 86.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007247/1.27, allocations: 0.5933 MB / 0.7903 GB, free: 86.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.313e-05/1.27, allocations: 37.7 kB / 0.7904 GB, free: 86.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/1.27, allocations: 338.5 kB / 0.7907 GB, free: 86.02 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/1.27, allocations: 231.6 kB / 0.7909 GB, free: 85.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/1.27, allocations: 12 kB / 0.7909 GB, free: 85.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/1.27, allocations: 386.8 kB / 0.7913 GB, free: 85.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004529/1.271, allocations: 349.4 kB / 0.7916 GB, free: 85.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005151/1.271, allocations: 0.4904 MB / 0.7921 GB, free: 84.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005045/1.272, allocations: 405.9 kB / 0.7925 GB, free: 84.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.272, allocations: 0 / 0.7925 GB, free: 84.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001534/1.273, allocations: 1.128 MB / 0.7936 GB, free: 82.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000466/1.274, allocations: 1.579 MB / 0.7951 GB, free: 81.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/1.274, allocations: 4 kB / 0.7951 GB, free: 81.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/1.275, allocations: 432.5 kB / 0.7956 GB, free: 80.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/1.276, allocations: 155.7 kB / 0.7957 GB, free: 80.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009926/1.277, allocations: 1.025 MB / 0.7967 GB, free: 79.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006488/1.277, allocations: 43.95 kB / 0.7968 GB, free: 79.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.653e-05/1.277, allocations: 35.98 kB / 0.7968 GB, free: 79.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/1.277, allocations: 4.625 kB / 0.7968 GB, free: 79.55 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001353/1.279, allocations: 0.9128 MB / 0.7977 GB, free: 78.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.279, allocations: 4.531 kB / 0.7977 GB, free: 78.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005134/1.279, allocations: 252.7 kB / 0.7979 GB, free: 78.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000567/1.28, allocations: 159.8 kB / 0.7981 GB, free: 78.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005595/1.28, allocations: 0.8176 MB / 0.7989 GB, free: 77.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005731/1.281, allocations: 39.92 kB / 0.7989 GB, free: 77.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/1.281, allocations: 31.98 kB / 0.7989 GB, free: 77.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002358/1.281, allocations: 152.8 kB / 0.7991 GB, free: 77.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/1.281, allocations: 75.06 kB / 0.7992 GB, free: 77.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/1.283, allocations: 1.086 MB / 0.8002 GB, free: 75.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/1.283, allocations: 11.95 kB / 0.8002 GB, free: 75.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/1.283, allocations: 0 / 0.8002 GB, free: 75.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/1.283, allocations: 7.922 kB / 0.8002 GB, free: 75.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/1.286, allocations: 1.989 MB / 0.8022 GB, free: 73.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/1.286, allocations: 0 / 0.8022 GB, free: 73.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005509/1.287, allocations: 115.9 kB / 0.8023 GB, free: 73.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/1.288, allocations: 441.2 kB / 0.8027 GB, free: 73.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.727e-05/1.288, allocations: 27.98 kB / 0.8027 GB, free: 73.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009368/1.289, allocations: 1.026 MB / 0.8037 GB, free: 72.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/1.289, allocations: 0 / 0.8037 GB, free: 72.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/1.291, allocations: 1.583 MB / 0.8053 GB, free: 70.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/1.291, allocations: 248.1 kB / 0.8055 GB, free: 70.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/1.292, allocations: 23.95 kB / 0.8056 GB, free: 70.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005742/1.292, allocations: 43.97 kB / 0.8056 GB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.292, allocations: 56.69 kB / 0.8056 GB, free: 70.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.266e-05/1.292, allocations: 31.92 kB / 0.8057 GB, free: 70.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005401/1.293, allocations: 475.1 kB / 0.8061 GB, free: 69.83 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.293, allocations: 0 / 0.8061 GB, free: 69.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002115/1.295, allocations: 0.64 MB / 0.8068 GB, free: 69.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level) * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001303/1.296, allocations: 0.586 MB / 0.8073 GB, free: 68.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002522/1.299, allocations: 1.353 MB / 0.8087 GB, free: 67.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.299, allocations: 4.188 kB / 0.8087 GB, free: 67.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000826/1.3, allocations: 456.3 kB / 0.8091 GB, free: 66.83 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/1.302, allocations: 344.6 kB / 0.8094 GB, free: 66.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002482/1.304, allocations: 1.35 MB / 0.8107 GB, free: 65.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/1.304, allocations: 1.012 MB / 0.8117 GB, free: 64.08 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001085/1.306, allocations: 370.3 kB / 0.8121 GB, free: 63.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/1.306, allocations: 71.41 kB / 0.8121 GB, free: 63.64 MB / 410.7 MB Notification: Performance of SimCode: time 8.32e-07/1.306, allocations: 0 / 0.8121 GB, free: 63.64 MB / 410.7 MB Notification: Performance of Templates: time 0.02768/1.333, allocations: 22.63 MB / 0.8342 GB, free: 41 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.EmptyTanks.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.EmptyTanks.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.EmptyTanks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.EmptyTanks.pipe 2>&1)