Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_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 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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, 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.001308/0.001308, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.485/1.485, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002606/0.002606, allocations: 286.7 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 178.6 MB / 0.507 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 95.48 kB / 0.6059 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.1964, allocations: 89.15 MB / 0.693 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003762/0.2002, allocations: 1.552 MB / 0.6945 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.2019, allocations: 0.8033 MB / 0.6953 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.074e-05/0.202, allocations: 0 / 0.6953 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.659e-05/0.2021, allocations: 7.875 kB / 0.6953 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.791e-05/0.2022, allocations: 12.55 kB / 0.6953 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.2028, allocations: 121.2 kB / 0.6954 GB, free: 2.258 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.2029, allocations: 47.86 kB / 0.6955 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.203, allocations: 20.27 kB / 0.6955 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.911e-05/0.2031, allocations: 19.92 kB / 0.6955 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.006e-05/0.2032, allocations: 19.92 kB / 0.6955 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.2032, allocations: 4 kB / 0.6955 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004779/0.2037, allocations: 175.7 kB / 0.6957 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.2037, allocations: 15.92 kB / 0.6957 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.846e-05/0.2038, allocations: 23.86 kB / 0.6957 GB, free: 1.938 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.2042, allocations: 147.6 kB / 0.6959 GB, free: 1.793 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.2042, allocations: 8 kB / 0.6959 GB, free: 1.785 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2042, allocations: 0 / 0.6959 GB, free: 1.785 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.2042, allocations: 0 / 0.6959 GB, free: 1.785 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007711/0.205, allocations: 399.2 kB / 0.6963 GB, free: 1.344 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.205, allocations: 8.031 kB / 0.6963 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.2051, allocations: 8.875 kB / 0.6963 GB, free: 1.328 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.2053, allocations: 168.3 kB / 0.6964 GB, free: 1.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.2053, allocations: 4.375 kB / 0.6964 GB, free: 1.121 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.2053, allocations: 4.375 kB / 0.6964 GB, free: 1.117 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.2057, allocations: 82.17 kB / 0.6965 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2058, allocations: 192 / 0.6965 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.2058, allocations: 7.938 kB / 0.6965 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2058, allocations: 0 / 0.6965 GB, free: 1.023 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/0.2063, allocations: 75.86 kB / 0.6966 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.2068, allocations: 280.7 kB / 0.6969 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.2071, allocations: 58.53 kB / 0.6969 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002303/0.2074, allocations: 40.92 kB / 0.697 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.2076, allocations: 93.03 kB / 0.697 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/0.2077, allocations: 38.5 kB / 0.6971 GB, free: 368 kB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.2077, allocations: 0 / 0.6971 GB, free: 368 kB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.000787/0.2085, allocations: 129.6 kB / 0.6972 GB, free: 232 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.938e-05/0.2086, allocations: 51.41 kB / 0.6973 GB, free: 168 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.2087, allocations: 117.8 kB / 0.6974 GB, free: 40 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.2088, allocations: 25.7 kB / 0.6974 GB, free: 8 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/0.2089, allocations: 96.03 kB / 0.6975 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.2089, allocations: 3.906 kB / 0.6975 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.647e-05/0.209, allocations: 17.72 kB / 0.6975 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.2092, allocations: 318.8 kB / 0.6978 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.2094, allocations: 35.95 kB / 0.6978 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.2096, allocations: 27.97 kB / 0.6979 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.2101, allocations: 80.72 kB / 0.6979 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2101, allocations: 0 / 0.6979 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000505/0.2106, allocations: 97.53 kB / 0.698 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2106, allocations: 7.938 kB / 0.698 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2106, allocations: 0 / 0.698 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2107, allocations: 4.312 kB / 0.6981 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.2108, allocations: 19.98 kB / 0.6981 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2109, allocations: 0 / 0.6981 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.211, allocations: 15.98 kB / 0.6981 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.211, allocations: 0 / 0.6981 GB, free: 15.27 MB / 0.4981 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 0.0001309/0.2111, allocations: 113.8 kB / 0.6982 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.2112, allocations: 0 / 0.6982 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000504/0.2117, allocations: 117.4 kB / 0.6983 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.2117, allocations: 7.984 kB / 0.6983 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2117, allocations: 0 / 0.6983 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2117, allocations: 0 / 0.6983 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.212, allocations: 173.5 kB / 0.6985 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.212, allocations: 0 / 0.6985 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.2122, allocations: 19.97 kB / 0.6985 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2122, allocations: 0 / 0.6985 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.2122, allocations: 0 / 0.6985 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2122, allocations: 4 kB / 0.6985 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2122, allocations: 0 / 0.6985 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000518/0.2128, allocations: 203.3 kB / 0.6987 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.2128, allocations: 85 kB / 0.6988 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.2129, allocations: 0 / 0.6988 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.213, allocations: 15.98 kB / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.499e-05/0.2131, allocations: 4 kB / 0.6988 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.2131, allocations: 4 kB / 0.6988 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.692e-05/0.2132, allocations: 99.58 kB / 0.6989 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2132, allocations: 0 / 0.6989 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004543/0.2137, allocations: 31.98 kB / 0.6989 GB, free: 14.3 MB / 0.4981 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.000283/0.214, allocations: 139.2 kB / 0.6991 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004606/0.2145, allocations: 71.86 kB / 0.6991 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2145, allocations: 0 / 0.6991 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002091/0.2147, allocations: 35.95 kB / 0.6992 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.2152, allocations: 21.34 kB / 0.6992 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004206/0.2156, allocations: 151.3 kB / 0.6993 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.216, allocations: 0.6807 MB / 0.7 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.004e-05/0.2161, allocations: 8 kB / 0.7 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.2161, allocations: 19.42 kB / 0.7 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.2161, allocations: 0 / 0.7 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.005619/0.2217, allocations: 1.254 MB / 0.7012 GB, free: 11.88 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)