Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001735, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00204/0.00204, allocations: 192.2 kB / 16.25 MB, free: 6.637 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.425/1.425, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002623/0.002623, allocations: 274.5 kB / 290.3 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.051/1.051, allocations: 178.6 MB / 0.5069 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 95.61 kB / 0.6059 GB, free: 24.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1636, allocations: 89.15 MB / 0.693 GB, free: 4.676 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002434/0.166, allocations: 1.324 MB / 0.6943 GB, free: 3.344 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005796/0.1666, allocations: 300.9 kB / 0.6946 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.172e-05/0.1667, allocations: 0 / 0.6946 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.708e-05/0.1667, allocations: 0 / 0.6946 GB, free: 3.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.717e-05/0.1668, allocations: 7.922 kB / 0.6946 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.167, allocations: 47.83 kB / 0.6946 GB, free: 2.996 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.762e-05/0.1671, allocations: 23.86 kB / 0.6946 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.172e-05/0.1672, allocations: 0 / 0.6946 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.399e-05/0.1672, allocations: 4 kB / 0.6946 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.1673, allocations: 11.98 kB / 0.6947 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.1673, allocations: 0 / 0.6947 GB, free: 2.957 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.1674, allocations: 55.94 kB / 0.6947 GB, free: 2.902 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.052e-05/0.1674, allocations: 7.938 kB / 0.6947 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.025e-05/0.1674, allocations: 4 kB / 0.6947 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.1676, allocations: 52.11 kB / 0.6948 GB, free: 2.84 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1676, allocations: 4 kB / 0.6948 GB, free: 2.836 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1676, allocations: 0 / 0.6948 GB, free: 2.836 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.036e-06/0.1676, allocations: 0 / 0.6948 GB, free: 2.836 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004015/0.168, allocations: 335.5 kB / 0.6951 GB, free: 2.457 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1681, allocations: 8.031 kB / 0.6951 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002156/0.1683, allocations: 20.91 kB / 0.6951 GB, free: 2.43 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.1684, allocations: 172.2 kB / 0.6953 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.1684, allocations: 384 / 0.6953 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.1685, allocations: 8.375 kB / 0.6953 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1686, allocations: 42.25 kB / 0.6953 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1686, allocations: 192 / 0.6953 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.1686, allocations: 3.938 kB / 0.6953 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.1686, allocations: 0 / 0.6953 GB, free: 2.164 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.013e-05/0.1687, allocations: 15.98 kB / 0.6953 GB, free: 2.148 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.1689, allocations: 153.7 kB / 0.6955 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002015/0.1709, allocations: 278.4 kB / 0.6958 GB, free: 1.668 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.51e-05/0.1709, allocations: 16.86 kB / 0.6958 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.171, allocations: 0 / 0.6958 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.171, allocations: 46.55 kB / 0.6958 GB, free: 1.594 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.171, allocations: 0 / 0.6958 GB, free: 1.594 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001839/0.1712, allocations: 57.62 kB / 0.6959 GB, free: 1.531 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.1713, allocations: 55.41 kB / 0.6959 GB, free: 1.465 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.895e-05/0.1713, allocations: 97.8 kB / 0.696 GB, free: 1.359 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1714, allocations: 29.64 kB / 0.6961 GB, free: 1.324 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.1714, allocations: 80.14 kB / 0.6961 GB, free: 1.242 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.1714, allocations: 15.75 kB / 0.6961 GB, free: 1.227 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.1715, allocations: 25.83 kB / 0.6962 GB, free: 1.195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1716, allocations: 310.8 kB / 0.6965 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.1717, allocations: 8 kB / 0.6965 GB, free: 0.875 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.1717, allocations: 8 kB / 0.6965 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.134e-05/0.1717, allocations: 28.84 kB / 0.6965 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1717, allocations: 0 / 0.6965 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.143e-05/0.1718, allocations: 49.7 kB / 0.6966 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.1719, allocations: 7.984 kB / 0.6966 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1719, allocations: 3.938 kB / 0.6966 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1719, allocations: 4 kB / 0.6966 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.929e-05/0.172, allocations: 11.94 kB / 0.6966 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.172, allocations: 0 / 0.6966 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.172, allocations: 0 / 0.6966 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.172, allocations: 0 / 0.6966 GB, free: 0.7539 MB / 494.1 MB 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 (4): * Single equations (assignments): 4 * 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 8.132e-05/0.1721, allocations: 109.8 kB / 0.6967 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.1721, allocations: 4 kB / 0.6967 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.1721, allocations: 7.438 kB / 0.6967 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1722, allocations: 3.984 kB / 0.6967 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1722, allocations: 4 kB / 0.6967 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1722, allocations: 4 kB / 0.6967 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.1723, allocations: 161.6 kB / 0.6969 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1723, allocations: 0 / 0.6969 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.601e-05/0.1724, allocations: 4 kB / 0.6969 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1724, allocations: 0 / 0.6969 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.1724, allocations: 7.938 kB / 0.6969 GB, free: 404 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.1724, allocations: 4 kB / 0.6969 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1724, allocations: 0 / 0.6969 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.1725, allocations: 85.3 kB / 0.697 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.723e-05/0.1726, allocations: 81.09 kB / 0.697 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.1726, allocations: 11.94 kB / 0.697 GB, free: 184 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.438e-05/0.1727, allocations: 3.938 kB / 0.6971 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.789e-05/0.1727, allocations: 4.031 kB / 0.6971 GB, free: 176 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.1727, allocations: 0 / 0.6971 GB, free: 176 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.922e-05/0.1728, allocations: 79.28 kB / 0.6971 GB, free: 96 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1728, allocations: 0 / 0.6971 GB, free: 96 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000184/0.173, allocations: 4.094 kB / 0.6971 GB, free: 92 kB / 494.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 (4): * Single equations (assignments): 4 * 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.0001352/0.1731, allocations: 107.2 kB / 0.6972 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.827e-05/0.1732, allocations: 23.92 kB / 0.6973 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1732, allocations: 0 / 0.6973 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.972e-05/0.1732, allocations: 19.98 kB / 0.6973 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.1735, allocations: 11.94 kB / 0.6973 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.1739, allocations: 130.7 kB / 0.6974 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.1742, allocations: 0.6768 MB / 0.6981 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.278e-05/0.1743, allocations: 4 kB / 0.6981 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.1743, allocations: 7.438 kB / 0.6981 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1743, allocations: 4 kB / 0.6981 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of Templates: time 0.002777/0.1771, allocations: 0.522 MB / 0.6986 GB, free: 14.53 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)