Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.conf.json 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/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.745/0.745, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.654/1.654, allocations: 222.9 MB / 403.4 MB, free: 7.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 99.77 kB / 484.3 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009824/0.0009825, allocations: 51.92 kB / 0.5618 GB, free: 71.06 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1343, allocations: 80.2 MB / 0.6402 GB, free: 6.793 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.003194/0.1375, allocations: 1.701 MB / 0.6418 GB, free: 5.074 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4802/0.6177, allocations: 147.4 MB / 0.7858 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.6179, allocations: 2.5 kB / 0.7858 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001893/0.6181, allocations: 15.86 kB / 0.7858 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.000252/0.6184, allocations: 43.91 kB / 0.7858 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.6189, allocations: 154.6 kB / 0.786 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.619, allocations: 153.5 kB / 0.7861 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.6192, allocations: 33.09 kB / 0.7862 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.6213, allocations: 167.8 kB / 0.7863 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.6215, allocations: 59.47 kB / 0.7864 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.525e-05/0.6215, allocations: 9.797 kB / 0.7864 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000312/0.6218, allocations: 161.1 kB / 0.7865 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.6219, allocations: 25.69 kB / 0.7866 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.75e-05/0.6219, allocations: 47.33 kB / 0.7866 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002951/0.6222, allocations: 192.4 kB / 0.7868 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6222, allocations: 0 / 0.7868 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.21e-07/0.6223, allocations: 0 / 0.7868 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.6223, allocations: 4 kB / 0.7868 GB, free: 13.11 MB / 0.5261 GB 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.0008455/0.6231, allocations: 463 kB / 0.7872 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.6232, allocations: 8.031 kB / 0.7872 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006007/0.6238, allocations: 56.97 kB / 0.7873 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.624, allocations: 203.4 kB / 0.7875 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.624, allocations: 11.89 kB / 0.7875 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.6241, allocations: 8 kB / 0.7875 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004458/0.6245, allocations: 179.5 kB / 0.7877 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.6245, allocations: 8 kB / 0.7877 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.6246, allocations: 4 kB / 0.7877 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6246, allocations: 0 / 0.7877 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/0.6251, allocations: 139.8 kB / 0.7878 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.6262, allocations: 0.8329 MB / 0.7886 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/0.6267, allocations: 130.4 kB / 0.7888 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.6269, allocations: 88.78 kB / 0.7888 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.6269, allocations: 0 / 0.7888 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.627, allocations: 34.56 kB / 0.7889 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.627, allocations: 0 / 0.7889 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001916/0.6289, allocations: 465.5 kB / 0.7893 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.629, allocations: 55.41 kB / 0.7894 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.6291, allocations: 139.8 kB / 0.7895 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.6291, allocations: 25.7 kB / 0.7895 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.6292, allocations: 108 kB / 0.7896 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.6292, allocations: 31.55 kB / 0.7897 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.466e-05/0.6293, allocations: 29.7 kB / 0.7897 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.6295, allocations: 322.8 kB / 0.79 GB, free: 9.543 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.6297, allocations: 77.81 kB / 0.7901 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.63, allocations: 100.2 kB / 0.7902 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.6305, allocations: 180.1 kB / 0.7903 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6305, allocations: 3.938 kB / 0.7903 GB, free: 9.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001016/0.6315, allocations: 278.1 kB / 0.7906 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.6316, allocations: 9.5 kB / 0.7906 GB, free: 8.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.6316, allocations: 7.938 kB / 0.7906 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005829/0.6322, allocations: 84.89 kB / 0.7907 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.6324, allocations: 31.95 kB / 0.7907 GB, free: 8.746 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.6345, allocations: 1.553 MB / 0.7923 GB, free: 7.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002104/0.6347, allocations: 19.89 kB / 0.7923 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.6347, allocations: 12.06 kB / 0.7923 GB, free: 7.027 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.6349, allocations: 127 kB / 0.7924 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.6349, allocations: 7.906 kB / 0.7924 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.636, allocations: 311.2 kB / 0.7927 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.636, allocations: 4 kB / 0.7927 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.636, allocations: 0 / 0.7927 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.636, allocations: 7.922 kB / 0.7927 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.6363, allocations: 237.5 kB / 0.793 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6363, allocations: 0 / 0.793 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001925/0.6365, allocations: 31.95 kB / 0.793 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004955/0.637, allocations: 84.77 kB / 0.7931 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.637, allocations: 7.984 kB / 0.7931 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/0.6387, allocations: 1.567 MB / 0.7946 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.6388, allocations: 144 / 0.7946 GB, free: 4.453 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001516/0.6403, allocations: 1.022 MB / 0.7956 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.6403, allocations: 85.02 kB / 0.7957 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.6404, allocations: 4.875 kB / 0.7957 GB, free: 3.266 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/0.6406, allocations: 19.92 kB / 0.7957 GB, free: 3.246 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.6407, allocations: 19.91 kB / 0.7957 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.6407, allocations: 8 kB / 0.7957 GB, free: 3.219 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.901e-05/0.6408, allocations: 109 kB / 0.7958 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6408, allocations: 0 / 0.7958 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004357/0.6412, allocations: 47.91 kB / 0.7959 GB, free: 3.066 MB / 0.5261 GB 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 (10): * Single equations (assignments): 9 * 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.0001993/0.6414, allocations: 115.1 kB / 0.796 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008971/0.6423, allocations: 303 kB / 0.7963 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6423, allocations: 256 / 0.7963 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005271/0.6429, allocations: 231.1 kB / 0.7965 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003263/0.6432, allocations: 27.92 kB / 0.7965 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009009/0.6441, allocations: 475.5 kB / 0.797 GB, free: 1.867 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.6444, allocations: 0.7088 MB / 0.7977 GB, free: 1.133 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.6446, allocations: 24.88 kB / 0.7977 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.6447, allocations: 15.42 kB / 0.7977 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of SimCode: time 2.5e-07/0.6447, allocations: 0 / 0.7977 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of Templates: time 0.006305/0.651, allocations: 3.045 MB / 0.8007 GB, free: 14.07 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)