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.0009216/0.0009215, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007329/0.007329, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.445/1.445, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.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.747/1.747, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004972/0.0004973, allocations: 16.23 kB / 0.6743 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.205, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.001757/0.2068, allocations: 0.9976 MB / 0.7889 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001309/0.2082, allocations: 0.844 MB / 0.7897 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.377e-05/0.2082, allocations: 4 kB / 0.7897 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.309e-05/0.2082, allocations: 0 / 0.7897 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.92e-05/0.2083, allocations: 0 / 0.7897 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003686/0.2086, allocations: 103.5 kB / 0.7898 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.581e-05/0.2087, allocations: 27.86 kB / 0.7898 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.2087, allocations: 0 / 0.7898 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.554e-05/0.2088, allocations: 23.91 kB / 0.7898 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.415e-05/0.2089, allocations: 11.94 kB / 0.7898 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.2089, allocations: 0 / 0.7898 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.2092, allocations: 179.8 kB / 0.79 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.2093, allocations: 3.938 kB / 0.79 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.96e-05/0.2093, allocations: 33.64 kB / 0.79 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003436/0.2096, allocations: 124 kB / 0.7902 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2097, allocations: 0 / 0.7902 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2097, allocations: 0 / 0.7902 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.2097, allocations: 0 / 0.7902 GB, free: 9.199 MB / 0.6075 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.0004835/0.2102, allocations: 363.4 kB / 0.7905 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.2102, allocations: 12.03 kB / 0.7905 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.2103, allocations: 0.9375 kB / 0.7905 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.2104, allocations: 160.4 kB / 0.7907 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/0.2105, allocations: 30.27 kB / 0.7907 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.2105, allocations: 8.375 kB / 0.7907 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.2106, allocations: 50.17 kB / 0.7908 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.2107, allocations: 3.938 kB / 0.7908 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.2107, allocations: 0 / 0.7908 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2107, allocations: 4 kB / 0.7908 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.326e-05/0.2108, allocations: 19.98 kB / 0.7908 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001616/0.211, allocations: 153.7 kB / 0.7909 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.2112, allocations: 46.56 kB / 0.791 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.2112, allocations: 12.95 kB / 0.791 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002773/0.2115, allocations: 186.1 kB / 0.7912 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.2115, allocations: 38.55 kB / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.2116, allocations: 0 / 0.7912 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.000242/0.2118, allocations: 69.67 kB / 0.7913 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.2118, allocations: 59.33 kB / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.34e-05/0.2119, allocations: 101.9 kB / 0.7914 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.2119, allocations: 29.7 kB / 0.7915 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.374e-05/0.212, allocations: 80.14 kB / 0.7915 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.212, allocations: 15.78 kB / 0.7915 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.212, allocations: 17.7 kB / 0.7916 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2122, allocations: 310.8 kB / 0.7919 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.738e-05/0.2122, allocations: 11.94 kB / 0.7919 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-05/0.2123, allocations: 11.98 kB / 0.7919 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.207e-05/0.2124, allocations: 28.84 kB / 0.7919 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2124, allocations: 4 kB / 0.7919 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001359/0.2125, allocations: 57.59 kB / 0.792 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2125, allocations: 7.938 kB / 0.792 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.2125, allocations: 0 / 0.792 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.2126, allocations: 0 / 0.792 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.434e-05/0.2126, allocations: 11.98 kB / 0.792 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2126, allocations: 0 / 0.792 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.2127, allocations: 3.938 kB / 0.792 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-06/0.2127, allocations: 0 / 0.792 GB, free: 7.059 MB / 0.6075 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 7.25e-05/0.2128, allocations: 117.8 kB / 0.7921 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.2128, allocations: 3.938 kB / 0.7921 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.213, allocations: 65.17 kB / 0.7922 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.213, allocations: 0 / 0.7922 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.213, allocations: 3.984 kB / 0.7922 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.213, allocations: 0 / 0.7922 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.2132, allocations: 157.7 kB / 0.7923 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2132, allocations: 0 / 0.7923 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.2132, allocations: 8 kB / 0.7923 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.2132, allocations: 7.938 kB / 0.7923 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.2132, allocations: 0 / 0.7923 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2132, allocations: 3.938 kB / 0.7923 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2133, allocations: 0 / 0.7923 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.2134, allocations: 89.02 kB / 0.7924 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.2135, allocations: 81.09 kB / 0.7925 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.2135, allocations: 7.938 kB / 0.7925 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.662e-05/0.2135, allocations: 4 kB / 0.7925 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.2136, allocations: 3.938 kB / 0.7925 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.2136, allocations: 4 kB / 0.7925 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.326e-05/0.2136, allocations: 83.69 kB / 0.7926 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2136, allocations: 4 kB / 0.7926 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002216/0.2139, allocations: 27.94 kB / 0.7926 GB, free: 6.289 MB / 0.6075 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.000255/0.2141, allocations: 139.2 kB / 0.7928 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001348/0.2143, allocations: 36.05 kB / 0.7928 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2143, allocations: 0 / 0.7928 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.22e-05/0.2143, allocations: 15.98 kB / 0.7928 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.2145, allocations: 11.94 kB / 0.7928 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002431/0.2148, allocations: 142.5 kB / 0.793 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.215, allocations: 0.6809 MB / 0.7936 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.538e-05/0.2151, allocations: 7.984 kB / 0.7936 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.63e-05/0.2151, allocations: 7.438 kB / 0.7936 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.2151, allocations: 4 kB / 0.7936 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of Templates: time 0.002878/0.218, allocations: 1.01 MB / 0.7946 GB, free: 4.184 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) Environment - environmentSimulation: