Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.174/2.174, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 175.3 kB / 326.3 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.431/2.431, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008714/0.0008714, allocations: 86.94 kB / 0.6817 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004667, allocations: 15.56 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2008, allocations: 106.3 MB / 0.8995 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001426/0.2023, allocations: 0.9895 MB / 0.9005 GB, free: 64.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.2037, allocations: 0.79 MB / 0.9012 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.939e-05/0.2038, allocations: 4 kB / 0.9012 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.354e-05/0.2038, allocations: 0 / 0.9012 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.559e-05/0.2039, allocations: 3.938 kB / 0.9013 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.2044, allocations: 119.5 kB / 0.9014 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.289e-05/0.2045, allocations: 19.92 kB / 0.9014 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.129e-05/0.2045, allocations: 7.984 kB / 0.9014 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.093e-05/0.2046, allocations: 7.938 kB / 0.9014 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.2047, allocations: 11.98 kB / 0.9014 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.2047, allocations: 4 kB / 0.9014 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003859/0.2051, allocations: 167.7 kB / 0.9016 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.2051, allocations: 7.984 kB / 0.9016 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.357e-05/0.2051, allocations: 37.64 kB / 0.9016 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.2053, allocations: 80.08 kB / 0.9017 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.2054, allocations: 0 / 0.9017 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.684e-06/0.2054, allocations: 0 / 0.9017 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2054, allocations: 0 / 0.9017 GB, free: 63.32 MB / 0.6042 GB 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.000395/0.2058, allocations: 355.4 kB / 0.902 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.2058, allocations: 8.031 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.2059, allocations: 4.938 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.394e-05/0.206, allocations: 160.4 kB / 0.9022 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.351e-05/0.2061, allocations: 34.27 kB / 0.9022 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.2061, allocations: 384 / 0.9022 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.2063, allocations: 46.23 kB / 0.9023 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.2063, allocations: 3.938 kB / 0.9023 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.2063, allocations: 4 kB / 0.9023 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-06/0.2063, allocations: 0 / 0.9023 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.2065, allocations: 19.92 kB / 0.9023 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.2066, allocations: 169.6 kB / 0.9025 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.2069, allocations: 42.56 kB / 0.9025 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.57e-05/0.207, allocations: 20.94 kB / 0.9025 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003674/0.2074, allocations: 174.2 kB / 0.9027 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.2074, allocations: 38.55 kB / 0.9027 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 2.354e-06/0.2074, allocations: 0 / 0.9027 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4): time 0.0003372/0.2078, allocations: 73.55 kB / 0.9028 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.2078, allocations: 51.41 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.592e-05/0.2079, allocations: 97.86 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.2079, allocations: 25.7 kB / 0.903 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.733e-05/0.2079, allocations: 84.08 kB / 0.903 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.208, allocations: 19.8 kB / 0.9031 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.208, allocations: 7.938 kB / 0.9031 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.467e-05/0.208, allocations: 314.8 kB / 0.9034 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-05/0.2081, allocations: 8 kB / 0.9034 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.696e-05/0.2082, allocations: 12.36 kB / 0.9034 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.119e-05/0.2083, allocations: 12 kB / 0.9034 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.2083, allocations: 0 / 0.9034 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001982/0.2085, allocations: 61.69 kB / 0.9035 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2086, allocations: 4 kB / 0.9035 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2086, allocations: 7.938 kB / 0.9035 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2086, allocations: 0 / 0.9035 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/0.2087, allocations: 8 kB / 0.9035 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2087, allocations: 0 / 0.9035 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.137e-05/0.2088, allocations: 4 kB / 0.9035 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.2088, allocations: 0 / 0.9035 GB, free: 61.22 MB / 0.6042 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 (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.364e-05/0.2089, allocations: 113.8 kB / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.481e-05/0.2089, allocations: 4 kB / 0.9036 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.2092, allocations: 73.05 kB / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2092, allocations: 0 / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2092, allocations: 4 kB / 0.9037 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.861e-05/0.2092, allocations: 85 kB / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.2093, allocations: 0 / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.2094, allocations: 8 kB / 0.9038 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.2094, allocations: 0 / 0.9038 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002271/0.2096, allocations: 133 kB / 0.9039 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002294/0.2099, allocations: 238.7 kB / 0.9041 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.658e-05/0.21, allocations: 11.98 kB / 0.9041 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.537e-05/0.21, allocations: 83.28 kB / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of Backend: time 8.72e-07/0.21, allocations: 0 / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006678/0.2107, allocations: 151.8 kB / 0.9043 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0003746/0.2111, allocations: 0.5779 MB / 0.9049 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of Templates: time 0.00486/0.216, allocations: 1.361 MB / 0.9062 GB, free: 58.28 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)