Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009017/0.0009016, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008663/0.0008663, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 223.3 MB / 240 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9882/0.9882, allocations: 135.3 MB / 426.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 12 kB / 0.507 GB, free: 5.102 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1809, allocations: 82.31 MB / 0.5874 GB, free: 2.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.001926/0.1829, allocations: 1.332 MB / 0.5887 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4927/0.6756, allocations: 136 MB / 0.7214 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001764/0.6759, allocations: 1.5 kB / 0.7214 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002526/0.6762, allocations: 16.77 kB / 0.7215 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00041/0.6766, allocations: 40.94 kB / 0.7215 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000984/0.6776, allocations: 150.4 kB / 0.7216 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.678, allocations: 138.5 kB / 0.7218 GB, free: 9.754 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.6782, allocations: 26.39 kB / 0.7218 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000709/0.679, allocations: 130.5 kB / 0.7219 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002037/0.6792, allocations: 52.58 kB / 0.722 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.075e-05/0.6793, allocations: 7.688 kB / 0.722 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005731/0.6798, allocations: 160.3 kB / 0.7221 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.6799, allocations: 18.44 kB / 0.7221 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.298e-05/0.68, allocations: 41.02 kB / 0.7222 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.6805, allocations: 141.4 kB / 0.7223 GB, free: 9.562 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.6805, allocations: 0.9688 kB / 0.7223 GB, free: 9.562 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.605e-06/0.6805, allocations: 0 / 0.7223 GB, free: 9.562 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.6805, allocations: 0 / 0.7223 GB, free: 9.562 MB / 0.545 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.001422/0.6819, allocations: 454.5 kB / 0.7228 GB, free: 9.164 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.682, allocations: 8.875 kB / 0.7228 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.6831, allocations: 56.97 kB / 0.7228 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.6835, allocations: 191.1 kB / 0.723 GB, free: 8.949 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.6835, allocations: 9.516 kB / 0.723 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.6836, allocations: 9.062 kB / 0.723 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008502/0.6844, allocations: 192.3 kB / 0.7232 GB, free: 8.836 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.878e-05/0.6845, allocations: 5.625 kB / 0.7232 GB, free: 8.832 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.6845, allocations: 5.25 kB / 0.7232 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.6846, allocations: 6.375 kB / 0.7232 GB, free: 8.824 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.6856, allocations: 162.4 kB / 0.7234 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001984/0.6876, allocations: 0.835 MB / 0.7242 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007669/0.6884, allocations: 138.9 kB / 0.7243 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005258/0.6889, allocations: 95.17 kB / 0.7244 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.689, allocations: 0.9062 kB / 0.7244 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.6891, allocations: 31.78 kB / 0.7244 GB, free: 7.91 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 2.404e-06/0.6891, allocations: 0 / 0.7244 GB, free: 7.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.003432/0.6925, allocations: 0.4925 MB / 0.7249 GB, free: 7.691 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.6926, allocations: 52.92 kB / 0.725 GB, free: 7.629 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.6928, allocations: 139.8 kB / 0.7251 GB, free: 7.516 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.6929, allocations: 26.73 kB / 0.7251 GB, free: 7.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.693, allocations: 111.6 kB / 0.7252 GB, free: 7.379 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.355e-05/0.6931, allocations: 30.2 kB / 0.7253 GB, free: 7.355 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.6931, allocations: 0 / 0.7253 GB, free: 7.355 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000207/0.6934, allocations: 324.7 kB / 0.7256 GB, free: 7.035 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.6939, allocations: 78.69 kB / 0.7257 GB, free: 7.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000567/0.6945, allocations: 116.8 kB / 0.7258 GB, free: 6.957 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.695, allocations: 90.17 kB / 0.7258 GB, free: 6.93 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6951, allocations: 0 / 0.7258 GB, free: 6.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.002087/0.6972, allocations: 302.4 kB / 0.7261 GB, free: 6.824 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.6972, allocations: 4.75 kB / 0.7261 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.6972, allocations: 1.438 kB / 0.7261 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/0.6983, allocations: 88.92 kB / 0.7262 GB, free: 6.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.6988, allocations: 40.41 kB / 0.7263 GB, free: 6.801 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003645/0.7025, allocations: 1.552 MB / 0.7278 GB, free: 5.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003522/0.7029, allocations: 28.52 kB / 0.7278 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.7029, allocations: 14.5 kB / 0.7278 GB, free: 5.375 MB / 0.545 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 (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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001713/0.7031, allocations: 115.8 kB / 0.7279 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.7032, allocations: 16.83 kB / 0.728 GB, free: 5.246 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.7049, allocations: 333.2 kB / 0.7283 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.7049, allocations: 2.375 kB / 0.7283 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7049, allocations: 0 / 0.7283 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.505e-06/0.7049, allocations: 1.172 kB / 0.7283 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004978/0.7054, allocations: 235.8 kB / 0.7285 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.7054, allocations: 4 kB / 0.7285 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.7058, allocations: 34.58 kB / 0.7285 GB, free: 4.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007238/0.7065, allocations: 92.28 kB / 0.7286 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.7066, allocations: 10.83 kB / 0.7286 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002507/0.7091, allocations: 1.564 MB / 0.7302 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7091, allocations: 0 / 0.7302 GB, free: 3.445 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.7105, allocations: 404.4 kB / 0.7305 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.631e-05/0.7106, allocations: 92.23 kB / 0.7306 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.62e-05/0.7107, allocations: 5.984 kB / 0.7306 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.711, allocations: 23.56 kB / 0.7307 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.7111, allocations: 10.83 kB / 0.7307 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.7111, allocations: 7.719 kB / 0.7307 GB, free: 3.117 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001227/0.7112, allocations: 105.6 kB / 0.7308 GB, free: 3.035 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7112, allocations: 0 / 0.7308 GB, free: 3.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000541/0.7118, allocations: 44.91 kB / 0.7308 GB, free: 3.027 MB / 0.545 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 (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 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002924/0.7121, allocations: 108.9 kB / 0.7309 GB, free: 2.934 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001228/0.7133, allocations: 326.8 kB / 0.7312 GB, free: 2.773 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7133, allocations: 1.188 kB / 0.7312 GB, free: 2.773 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006979/0.714, allocations: 247.6 kB / 0.7315 GB, free: 2.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.7145, allocations: 31.25 kB / 0.7315 GB, free: 2.605 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009188/0.7154, allocations: 352.6 kB / 0.7318 GB, free: 2.398 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.7158, allocations: 0.7084 MB / 0.7325 GB, free: 1.699 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.716, allocations: 30.14 kB / 0.7326 GB, free: 1.684 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.716, allocations: 18.23 kB / 0.7326 GB, free: 1.676 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.7161, allocations: 0 / 0.7326 GB, free: 1.676 MB / 0.545 GB Notification: Performance of Templates: time 0.008371/0.7244, allocations: 2.865 MB / 0.7354 GB, free: 1.469 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)