Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001047, allocations: 109.3 kB / 16.36 MB, free: 5.961 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.001069/0.001069, allocations: 196.4 kB / 17.3 MB, free: 5.574 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.282/1.282, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 292.3 MB / 0.5496 GB, free: 17.4 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 75.89 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2228, allocations: 114.5 MB / 0.7848 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002473/0.2253, allocations: 1.28 MB / 0.786 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4851/0.7105, allocations: 132 MB / 0.915 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.7105, allocations: 0 / 0.915 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 1.95e-05/0.7106, allocations: 3.984 kB / 0.915 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 4.09e-05/0.7106, allocations: 13.28 kB / 0.915 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003242/0.711, allocations: 52.08 kB / 0.915 GB, free: 1.898 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 6.536e-05/0.711, allocations: 22.11 kB / 0.915 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.7111, allocations: 1.406 kB / 0.915 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 3.6e-05/0.7111, allocations: 10.31 kB / 0.9151 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 5.166e-05/0.7112, allocations: 14.97 kB / 0.9151 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.7112, allocations: 1.156 kB / 0.9151 GB, free: 1.871 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 6.914e-05/0.7113, allocations: 11.44 kB / 0.9151 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.552e-05/0.7113, allocations: 5.203 kB / 0.9151 GB, free: 1.863 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.7113, allocations: 8.438 kB / 0.9151 GB, free: 1.859 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 9.287e-05/0.7114, allocations: 29.66 kB / 0.9151 GB, free: 1.848 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.7114, allocations: 1.156 kB / 0.9151 GB, free: 1.848 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.123e-06/0.7114, allocations: 0 / 0.9151 GB, free: 1.848 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.7115, allocations: 0 / 0.9151 GB, free: 1.848 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003623/0.7118, allocations: 330.5 kB / 0.9154 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.7119, allocations: 10.19 kB / 0.9154 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.532e-05/0.7119, allocations: 5.312 kB / 0.9155 GB, free: 1.492 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.4e-05/0.712, allocations: 165.8 kB / 0.9156 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.81e-05/0.7121, allocations: 36.95 kB / 0.9156 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/0.7121, allocations: 1.688 kB / 0.9156 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.7122, allocations: 43.89 kB / 0.9157 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.7122, allocations: 5.906 kB / 0.9157 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.7122, allocations: 5.188 kB / 0.9157 GB, free: 1.203 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.7122, allocations: 0 / 0.9157 GB, free: 1.203 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.103e-05/0.7123, allocations: 11.39 kB / 0.9157 GB, free: 1.199 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001338/0.7125, allocations: 153.8 kB / 0.9159 GB, free: 1.004 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 8.706e-05/0.7126, allocations: 35.77 kB / 0.9159 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.7126, allocations: 18.66 kB / 0.9159 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001432/0.7128, allocations: 93.42 kB / 0.916 GB, free: 0.8516 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.7128, allocations: 30.56 kB / 0.916 GB, free: 0.8125 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.7128, allocations: 0 / 0.916 GB, free: 0.8125 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.0002166/0.713, allocations: 67.39 kB / 0.9161 GB, free: 0.7578 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.7131, allocations: 52.75 kB / 0.9161 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.678e-05/0.7131, allocations: 96.64 kB / 0.9162 GB, free: 0.5938 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.7131, allocations: 27.14 kB / 0.9163 GB, free: 0.5625 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 2.126e-05/0.7132, allocations: 80.14 kB / 0.9163 GB, free: 492 kB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.43e-05/0.7132, allocations: 13.06 kB / 0.9164 GB, free: 480 kB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.7132, allocations: 16.64 kB / 0.9164 GB, free: 460 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.7133, allocations: 316.2 kB / 0.9167 GB, free: 136 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.623e-05/0.7134, allocations: 11.66 kB / 0.9167 GB, free: 128 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.744e-05/0.7134, allocations: 8.828 kB / 0.9167 GB, free: 124 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.448e-05/0.7135, allocations: 23.16 kB / 0.9167 GB, free: 108 kB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7135, allocations: 1.969 kB / 0.9167 GB, free: 108 kB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001217/0.7136, allocations: 47.5 kB / 0.9168 GB, free: 68 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.7137, allocations: 11 kB / 0.9168 GB, free: 64 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.7137, allocations: 0 / 0.9168 GB, free: 64 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.7137, allocations: 4 kB / 0.9168 GB, free: 60 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.7138, allocations: 6.406 kB / 0.9168 GB, free: 60 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.7138, allocations: 7.922 kB / 0.9168 GB, free: 52 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.073e-05/0.7138, allocations: 1.375 kB / 0.9168 GB, free: 52 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.7138, allocations: 1.312 kB / 0.9168 GB, free: 52 kB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.714e-05/0.7139, allocations: 107.2 kB / 0.9169 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.7139, allocations: 5.672 kB / 0.9169 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.7141, allocations: 62.89 kB / 0.917 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.7141, allocations: 8.031 kB / 0.917 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.7141, allocations: 0 / 0.917 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.7141, allocations: 1.188 kB / 0.917 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.772e-05/0.7142, allocations: 153.9 kB / 0.9171 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.7142, allocations: 3.938 kB / 0.9171 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.7142, allocations: 4.438 kB / 0.9171 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.7142, allocations: 5.375 kB / 0.9171 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-06/0.7143, allocations: 1.438 kB / 0.9171 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7143, allocations: 3.938 kB / 0.9171 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.7143, allocations: 2.531 kB / 0.9171 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001358/0.7144, allocations: 76.42 kB / 0.9172 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.738e-05/0.7145, allocations: 82.55 kB / 0.9173 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.7145, allocations: 3.938 kB / 0.9173 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.134e-05/0.7145, allocations: 5.297 kB / 0.9173 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.7146, allocations: 2.344 kB / 0.9173 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.7146, allocations: 0 / 0.9173 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.888e-05/0.7146, allocations: 78.22 kB / 0.9174 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7146, allocations: 4 kB / 0.9174 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001916/0.7148, allocations: 8.812 kB / 0.9174 GB, free: 15.4 MB / 0.7169 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001384/0.715, allocations: 114.3 kB / 0.9175 GB, free: 15.31 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001357/0.7151, allocations: 23.11 kB / 0.9175 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7151, allocations: 0 / 0.9175 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.219e-05/0.7152, allocations: 15.27 kB / 0.9175 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.7154, allocations: 8.875 kB / 0.9175 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.7157, allocations: 124.1 kB / 0.9177 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.7159, allocations: 0.6774 MB / 0.9183 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.385e-05/0.7159, allocations: 5.375 kB / 0.9183 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.956e-05/0.7159, allocations: 9.656 kB / 0.9183 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7159, allocations: 0 / 0.9183 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of Templates: time 0.00242/0.7184, allocations: 0.5114 MB / 0.9188 GB, free: 14.23 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1)