Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.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 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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 106.4 kB / 16.36 MB, free: 5.953 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.001221/0.001221, allocations: 193.9 kB / 17.3 MB, free: 5.57 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.331/1.331, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.761/1.761, allocations: 292.3 MB / 0.5496 GB, free: 17.47 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.001523/0.001523, allocations: 71.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.209, allocations: 114.5 MB / 0.7848 GB, free: 3.176 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002393/0.2115, allocations: 1.271 MB / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2128, allocations: 0.8311 MB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.116e-05/0.2128, allocations: 0 / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.2129, allocations: 7.938 kB / 0.7868 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.021e-05/0.2129, allocations: 7.922 kB / 0.7869 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.2134, allocations: 127.5 kB / 0.787 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.136e-05/0.2135, allocations: 35.73 kB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/0.2136, allocations: 8 kB / 0.787 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 4.217e-05/0.2136, allocations: 11.98 kB / 0.787 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.2137, allocations: 11.92 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.2137, allocations: 0 / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004226/0.2141, allocations: 167.8 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.2142, allocations: 4 kB / 0.7872 GB, free: 0.6797 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.761e-05/0.2142, allocations: 7.938 kB / 0.7872 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.2145, allocations: 123.7 kB / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2145, allocations: 0 / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2145, allocations: 0 / 0.7873 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2145, allocations: 0 / 0.7873 GB, free: 0.5508 MB / 0.6544 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.0004814/0.215, allocations: 363.4 kB / 0.7877 GB, free: 148 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.215, allocations: 12.03 kB / 0.7877 GB, free: 136 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.084e-05/0.2151, allocations: 4.844 kB / 0.7877 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3116/0.5267, allocations: 160.9 kB / 0.7878 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.5268, allocations: 33.14 kB / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.5269, allocations: 1.438 kB / 0.7879 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.527, allocations: 48.27 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.527, allocations: 0 / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.5271, allocations: 0.9062 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.5271, allocations: 3.938 kB / 0.7879 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.5272, allocations: 18.12 kB / 0.7879 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.5273, allocations: 158.2 kB / 0.7881 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.5275, allocations: 49.14 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.5276, allocations: 18.27 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002677/0.5279, allocations: 181.5 kB / 0.7883 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.447e-05/0.5279, allocations: 33.41 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.5279, allocations: 1.375 kB / 0.7884 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002292/0.5282, allocations: 62.56 kB / 0.7884 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.216e-05/0.5282, allocations: 59.62 kB / 0.7885 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.347e-05/0.5282, allocations: 96.78 kB / 0.7886 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.5283, allocations: 31.48 kB / 0.7886 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.37e-05/0.5283, allocations: 82.08 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.5283, allocations: 22.47 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.897e-05/0.5283, allocations: 15.47 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.751e-05/0.5284, allocations: 317.2 kB / 0.789 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-05/0.5284, allocations: 6.125 kB / 0.789 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.801e-05/0.5285, allocations: 11.77 kB / 0.789 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.445e-05/0.5286, allocations: 34.33 kB / 0.7891 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5286, allocations: 0 / 0.7891 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001156/0.5287, allocations: 54.91 kB / 0.7891 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.5287, allocations: 5.625 kB / 0.7891 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.5287, allocations: 0 / 0.7891 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.5287, allocations: 4.875 kB / 0.7891 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.313e-05/0.5288, allocations: 11.59 kB / 0.7891 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.5288, allocations: 0 / 0.7891 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/0.5288, allocations: 5.844 kB / 0.7891 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.5289, allocations: 1.219 kB / 0.7892 GB, free: 47.5 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.5289, allocations: 117.7 kB / 0.7893 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.5289, allocations: 0 / 0.7893 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.5291, allocations: 74.58 kB / 0.7893 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5291, allocations: 3.938 kB / 0.7893 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5291, allocations: 0 / 0.7893 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.5291, allocations: 0 / 0.7893 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.751e-05/0.5292, allocations: 158.3 kB / 0.7895 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.5292, allocations: 0 / 0.7895 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.5292, allocations: 11.88 kB / 0.7895 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5292, allocations: 0 / 0.7895 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.5293, allocations: 0.5 kB / 0.7895 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5293, allocations: 3.938 kB / 0.7895 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5293, allocations: 0 / 0.7895 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.5294, allocations: 85.31 kB / 0.7896 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.37e-05/0.5294, allocations: 84.62 kB / 0.7897 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.5295, allocations: 0.625 kB / 0.7897 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.979e-05/0.5295, allocations: 7.875 kB / 0.7897 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.5295, allocations: 8.781 kB / 0.7897 GB, free: 47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.5296, allocations: 4.844 kB / 0.7897 GB, free: 47 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.73e-05/0.5296, allocations: 81.89 kB / 0.7898 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5296, allocations: 2.375 kB / 0.7898 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002317/0.5298, allocations: 34.61 kB / 0.7898 GB, free: 46.92 MB / 0.6544 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 (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.0001865/0.53, allocations: 140.2 kB / 0.7899 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.5302, allocations: 27.53 kB / 0.79 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5302, allocations: 0 / 0.79 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.765e-05/0.5302, allocations: 17.03 kB / 0.79 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002499/0.5305, allocations: 12.66 kB / 0.79 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/0.5307, allocations: 121.3 kB / 0.7901 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.872e-05/0.5308, allocations: 0.6754 MB / 0.7908 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.711e-05/0.5309, allocations: 5.906 kB / 0.7908 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.685e-05/0.5309, allocations: 13.89 kB / 0.7908 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of SimCode: time 8.61e-07/0.5309, allocations: 3.125 kB / 0.7908 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of Templates: time 0.002937/0.5338, allocations: 1.056 MB / 0.7918 GB, free: 46 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)