Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi") translateModel(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001279/0.001279, allocations: 106.7 kB / 16.52 MB, free: 6.27 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.001248/0.001248, allocations: 194.7 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 241.1 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7178/0.7178, allocations: 115.3 MB / 406.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 63.91 kB / 493.6 MB, free: 0.8477 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3228, allocations: 76.17 MB / 0.5564 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002585/0.3254, allocations: 1.721 MB / 0.558 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1529/0.4783, allocations: 147.4 MB / 0.702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.4785, allocations: 3.938 kB / 0.702 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.4787, allocations: 23.86 kB / 0.702 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000271/0.479, allocations: 35.77 kB / 0.7021 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.4795, allocations: 167.5 kB / 0.7022 GB, free: 14.87 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002108/0.4797, allocations: 151.5 kB / 0.7024 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.4798, allocations: 31.06 kB / 0.7024 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.4818, allocations: 170.1 kB / 0.7026 GB, free: 14.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.4819, allocations: 63.73 kB / 0.7026 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.482, allocations: 11.94 kB / 0.7026 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003252/0.4823, allocations: 155.8 kB / 0.7028 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.4823, allocations: 27.89 kB / 0.7028 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.143e-05/0.4824, allocations: 47.73 kB / 0.7029 GB, free: 14.24 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.4827, allocations: 147.6 kB / 0.703 GB, free: 14.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4827, allocations: 0 / 0.703 GB, free: 14.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.21e-07/0.4827, allocations: 3.938 kB / 0.703 GB, free: 14.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.79e-06/0.4827, allocations: 4 kB / 0.703 GB, free: 14.09 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.0008769/0.4836, allocations: 459 kB / 0.7034 GB, free: 13.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.4837, allocations: 15.97 kB / 0.7035 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006868/0.4844, allocations: 56.69 kB / 0.7035 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.4846, allocations: 200.9 kB / 0.7037 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.4846, allocations: 4 kB / 0.7037 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.4846, allocations: 8 kB / 0.7037 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004573/0.4851, allocations: 189.8 kB / 0.7039 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4851, allocations: 0 / 0.7039 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.4851, allocations: 0 / 0.7039 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.4851, allocations: 4 kB / 0.7039 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004951/0.4856, allocations: 150 kB / 0.704 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.4868, allocations: 0.8281 MB / 0.7049 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.4872, allocations: 138.4 kB / 0.705 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/0.4875, allocations: 80.8 kB / 0.7051 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.4875, allocations: 8.141 kB / 0.7051 GB, free: 11.78 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.4875, allocations: 30.56 kB / 0.7051 GB, free: 11.74 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.563e-06/0.4875, allocations: 0 / 0.7051 GB, free: 11.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001958/0.4895, allocations: 459.1 kB / 0.7055 GB, free: 11.27 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.4896, allocations: 51.41 kB / 0.7056 GB, free: 11.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.4897, allocations: 156.6 kB / 0.7057 GB, free: 11.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.4897, allocations: 29.7 kB / 0.7058 GB, free: 11.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.4898, allocations: 112.2 kB / 0.7059 GB, free: 10.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.4898, allocations: 27.56 kB / 0.7059 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-05/0.4899, allocations: 37.69 kB / 0.7059 GB, free: 10.82 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.49, allocations: 318.8 kB / 0.7062 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.4903, allocations: 67.92 kB / 0.7063 GB, free: 10.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.4906, allocations: 104.2 kB / 0.7064 GB, free: 10.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.4911, allocations: 184.1 kB / 0.7066 GB, free: 10.12 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4911, allocations: 0 / 0.7066 GB, free: 10.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001077/0.4922, allocations: 278.1 kB / 0.7068 GB, free: 9.844 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.4922, allocations: 7.938 kB / 0.7068 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.4922, allocations: 4 kB / 0.7069 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006312/0.4929, allocations: 84.89 kB / 0.7069 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.4931, allocations: 35.89 kB / 0.707 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.4952, allocations: 1.547 MB / 0.7085 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.4955, allocations: 27.81 kB / 0.7085 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.4955, allocations: 7.938 kB / 0.7085 GB, free: 7.992 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 (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.0001206/0.4957, allocations: 125.7 kB / 0.7086 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.4957, allocations: 15.89 kB / 0.7086 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.4968, allocations: 305.8 kB / 0.7089 GB, free: 7.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4968, allocations: 3.938 kB / 0.7089 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.4968, allocations: 4 kB / 0.7089 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.4968, allocations: 3.938 kB / 0.7089 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.4971, allocations: 241.4 kB / 0.7092 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.4971, allocations: 192 / 0.7092 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.4974, allocations: 31.95 kB / 0.7092 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000517/0.4979, allocations: 88.75 kB / 0.7093 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.4979, allocations: 7.984 kB / 0.7093 GB, free: 7.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001823/0.4997, allocations: 1.567 MB / 0.7108 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4998, allocations: 0 / 0.7108 GB, free: 5.406 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/0.5009, allocations: 380 kB / 0.7112 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.501, allocations: 108.9 kB / 0.7113 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.501, allocations: 0 / 0.7113 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.5012, allocations: 19.98 kB / 0.7113 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.968e-05/0.5013, allocations: 15.97 kB / 0.7113 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.387e-05/0.5013, allocations: 0 / 0.7113 GB, free: 4.855 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.371e-05/0.5014, allocations: 116.5 kB / 0.7114 GB, free: 4.742 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5014, allocations: 3.938 kB / 0.7114 GB, free: 4.738 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003379/0.5018, allocations: 40 kB / 0.7115 GB, free: 4.699 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 (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.0001874/0.502, allocations: 117.7 kB / 0.7116 GB, free: 4.578 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008835/0.5029, allocations: 306.6 kB / 0.7119 GB, free: 4.266 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5029, allocations: 0 / 0.7119 GB, free: 4.266 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0005284/0.5034, allocations: 226.6 kB / 0.7121 GB, free: 4.031 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.5038, allocations: 43.44 kB / 0.7121 GB, free: 3.992 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009022/0.5047, allocations: 380 kB / 0.7125 GB, free: 3.59 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.505, allocations: 0.7088 MB / 0.7132 GB, free: 2.855 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.364e-05/0.5051, allocations: 19.42 kB / 0.7132 GB, free: 2.836 MB / 0.545 GB Notification: Performance of SimCode: time 7.92e-07/0.5051, allocations: 0 / 0.7132 GB, free: 2.836 MB / 0.545 GB Notification: Performance of Templates: time 0.005216/0.5103, allocations: 2.726 MB / 0.7159 GB, free: 124 kB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)