Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) 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(Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 108 kB / 15.61 MB, free: 152 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.002263/0.002262, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.564/1.564, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4474/0.4474, allocations: 54.95 MB / 324.7 MB, free: 15.96 MB / 270.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002107, allocations: 64.47 kB / 395.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1617, allocations: 59.6 MB / 454.9 MB, free: 148 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.313/0.4747, allocations: 1.681 MB / 456.6 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1948/0.6696, allocations: 149.6 MB / 0.592 GB, free: 128 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.6698, allocations: 4 kB / 0.592 GB, free: 124 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002209/0.6701, allocations: 27.78 kB / 0.5921 GB, free: 96 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.811e-05/0.6702, allocations: 27.73 kB / 0.5921 GB, free: 68 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007972/0.671, allocations: 203.2 kB / 0.5923 GB, free: 15.87 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000216/0.6712, allocations: 167.5 kB / 0.5924 GB, free: 15.7 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.6713, allocations: 31.92 kB / 0.5925 GB, free: 15.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.6715, allocations: 87.77 kB / 0.5925 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.6717, allocations: 71.73 kB / 0.5926 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.464e-05/0.6717, allocations: 12 kB / 0.5926 GB, free: 15.51 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.6721, allocations: 175.7 kB / 0.5928 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.858e-05/0.6722, allocations: 31.89 kB / 0.5928 GB, free: 15.3 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.019e-05/0.6723, allocations: 59.78 kB / 0.5929 GB, free: 15.25 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.6726, allocations: 211.5 kB / 0.5931 GB, free: 15.04 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6727, allocations: 0 / 0.5931 GB, free: 15.04 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.6727, allocations: 0 / 0.5931 GB, free: 15.04 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.6727, allocations: 4 kB / 0.5931 GB, free: 15.04 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001174/0.6739, allocations: 0.5152 MB / 0.5936 GB, free: 14.46 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.625e-05/0.6739, allocations: 8.031 kB / 0.5936 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006934/0.6746, allocations: 60.06 kB / 0.5937 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002756/0.6749, allocations: 202.9 kB / 0.5939 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.6749, allocations: 8 kB / 0.5939 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.018e-05/0.675, allocations: 12 kB / 0.5939 GB, free: 14.14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005732/0.6756, allocations: 204.6 kB / 0.5941 GB, free: 13.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.6756, allocations: 7.938 kB / 0.5941 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.6756, allocations: 4 kB / 0.5941 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.6756, allocations: 3.938 kB / 0.5941 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000576/0.6762, allocations: 176.9 kB / 0.5942 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.6776, allocations: 0.8362 MB / 0.5951 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/0.6781, allocations: 170.4 kB / 0.5952 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.6784, allocations: 116.8 kB / 0.5953 GB, free: 12.53 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.6784, allocations: 4 kB / 0.5953 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.6785, allocations: 34.69 kB / 0.5954 GB, free: 12.48 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.6785, allocations: 0 / 0.5954 GB, free: 12.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.002088/0.6806, allocations: 0.5438 MB / 0.5959 GB, free: 11.91 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.6806, allocations: 59.34 kB / 0.596 GB, free: 11.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.6808, allocations: 149.7 kB / 0.5961 GB, free: 11.69 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.6808, allocations: 29.7 kB / 0.5961 GB, free: 11.65 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.289e-05/0.6809, allocations: 106.4 kB / 0.5962 GB, free: 11.55 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.6809, allocations: 27.56 kB / 0.5963 GB, free: 11.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-05/0.681, allocations: 41.69 kB / 0.5963 GB, free: 11.47 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.6812, allocations: 322.8 kB / 0.5966 GB, free: 11.15 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.6815, allocations: 107.9 kB / 0.5967 GB, free: 11.04 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.6819, allocations: 148.1 kB / 0.5969 GB, free: 10.88 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/0.6825, allocations: 303.4 kB / 0.5971 GB, free: 10.56 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.6825, allocations: 4 kB / 0.5971 GB, free: 10.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001304/0.6838, allocations: 441.4 kB / 0.5976 GB, free: 10.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.344e-05/0.6839, allocations: 69.3 kB / 0.5976 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.6839, allocations: 0 / 0.5976 GB, free: 10.02 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000637/0.6846, allocations: 96.88 kB / 0.5977 GB, free: 9.926 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002341/0.6848, allocations: 31.97 kB / 0.5978 GB, free: 9.895 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/0.6874, allocations: 1.771 MB / 0.5995 GB, free: 7.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.6876, allocations: 32.59 kB / 0.5995 GB, free: 7.949 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.11e-05/0.6877, allocations: 4 kB / 0.5995 GB, free: 7.945 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (wetBulApp.iWat,wetBul.iWat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001431/0.6878, allocations: 129.9 kB / 0.5996 GB, free: 7.809 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/0.6879, allocations: 11.81 kB / 0.5997 GB, free: 7.797 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001167/0.689, allocations: 380.1 kB / 0.6 GB, free: 7.418 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.6891, allocations: 4 kB / 0.6 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.6891, allocations: 0 / 0.6 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.6891, allocations: 0 / 0.6 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.6905, allocations: 0.6374 MB / 0.6006 GB, free: 6.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.6905, allocations: 0 / 0.6006 GB, free: 6.719 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.6907, allocations: 31.95 kB / 0.6007 GB, free: 6.688 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004702/0.6912, allocations: 88.7 kB / 0.6008 GB, free: 6.598 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.6912, allocations: 11.98 kB / 0.6008 GB, free: 6.586 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002079/0.6933, allocations: 1.777 MB / 0.6025 GB, free: 4.664 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6933, allocations: 4.062 kB / 0.6025 GB, free: 4.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.6945, allocations: 440.7 kB / 0.6029 GB, free: 4.211 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.6945, allocations: 93.36 kB / 0.603 GB, free: 4.102 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.6946, allocations: 5.406 kB / 0.603 GB, free: 4.098 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.6948, allocations: 15.98 kB / 0.603 GB, free: 4.082 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/0.6949, allocations: 19.97 kB / 0.6031 GB, free: 4.062 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.6949, allocations: 5.375 kB / 0.6031 GB, free: 4.059 MB / 478.1 MB Notification: Performance of sorting global known variables: time 8.646e-05/0.695, allocations: 107.2 kB / 0.6032 GB, free: 3.953 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.695, allocations: 0 / 0.6032 GB, free: 3.953 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0004068/0.6954, allocations: 59.94 kB / 0.6032 GB, free: 3.895 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (11): * Single equations (assignments): 10 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003916/0.6958, allocations: 133 kB / 0.6034 GB, free: 3.766 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.697, allocations: 0.4933 MB / 0.6038 GB, free: 3.238 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.697, allocations: 0 / 0.6038 GB, free: 3.238 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000562/0.6976, allocations: 256.5 kB / 0.6041 GB, free: 2.977 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.6979, allocations: 28.88 kB / 0.6041 GB, free: 2.953 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008932/0.6988, allocations: 348.7 kB / 0.6044 GB, free: 2.598 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.6991, allocations: 0.7085 MB / 0.6051 GB, free: 1.863 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001655/0.6993, allocations: 33.58 kB / 0.6052 GB, free: 1.828 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/0.6993, allocations: 19.42 kB / 0.6052 GB, free: 1.812 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6993, allocations: 0 / 0.6052 GB, free: 1.812 MB / 478.1 MB Notification: Performance of Templates: time 0.008054/0.7074, allocations: 3.692 MB / 0.6088 GB, free: 14.18 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)