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.001438/0.001438, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001618/0.001618, allocations: 198.8 kB / 16.26 MB, free: 6.621 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.343/1.343, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.646/1.646, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001282/0.001282, allocations: 65 kB / 0.671 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2149, allocations: 114.6 MB / 0.7829 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002159/0.2171, allocations: 1.333 MB / 0.7842 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.2182, allocations: 0.8283 MB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.525e-05/0.2183, allocations: 0 / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.742e-05/0.2183, allocations: 0 / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.067e-05/0.2184, allocations: 15.86 kB / 0.785 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.2188, allocations: 115.6 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.621e-05/0.2188, allocations: 23.92 kB / 0.7851 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.307e-05/0.2189, allocations: 7.922 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.2189, allocations: 8 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.212e-05/0.219, allocations: 19.91 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.219, allocations: 0 / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002808/0.2193, allocations: 171.7 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.2193, allocations: 3.984 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.208e-05/0.2193, allocations: 11.94 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.2195, allocations: 116 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2195, allocations: 0 / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2196, allocations: 0 / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2196, allocations: 0 / 0.7854 GB, free: 11.25 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.0004074/0.22, allocations: 369.8 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.22, allocations: 8.031 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.2201, allocations: 4.938 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.998e-05/0.2202, allocations: 168.3 kB / 0.786 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.526e-05/0.2202, allocations: 34.27 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.2202, allocations: 384 / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.2204, allocations: 54.17 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2204, allocations: 3.938 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.2204, allocations: 0 / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.2204, allocations: 0 / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.985e-05/0.2205, allocations: 19.98 kB / 0.7861 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.2207, allocations: 157.7 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.2209, allocations: 54.55 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.664e-05/0.2209, allocations: 16.94 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002802/0.2212, allocations: 178.2 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.2212, allocations: 30.56 kB / 0.7865 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2213, allocations: 7.938 kB / 0.7865 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002269/0.2215, allocations: 73.52 kB / 0.7866 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.2215, allocations: 55.41 kB / 0.7866 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.582e-05/0.2216, allocations: 93.86 kB / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.2216, allocations: 29.7 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.2217, allocations: 88.06 kB / 0.7868 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.2217, allocations: 7.844 kB / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.2217, allocations: 17.72 kB / 0.7868 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.491e-05/0.2218, allocations: 314.8 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.106e-05/0.2219, allocations: 15.98 kB / 0.7872 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.934e-05/0.2219, allocations: 4 kB / 0.7872 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.661e-05/0.222, allocations: 28.84 kB / 0.7872 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.222, allocations: 4 kB / 0.7872 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001244/0.2222, allocations: 57.58 kB / 0.7872 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.2222, allocations: 10.75 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.526e-06/0.2222, allocations: 4 kB / 0.7873 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2222, allocations: 4 kB / 0.7873 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.045e-05/0.2223, allocations: 7.938 kB / 0.7873 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2223, allocations: 3.984 kB / 0.7873 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.189e-05/0.2223, allocations: 8 kB / 0.7873 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.2223, allocations: 3.984 kB / 0.7873 GB, free: 9.082 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 6.822e-05/0.2224, allocations: 106.5 kB / 0.7874 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.2224, allocations: 8.453 kB / 0.7874 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.2226, allocations: 65.17 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.91e-06/0.2226, allocations: 8.031 kB / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2226, allocations: 0 / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.2227, allocations: 0 / 0.7875 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.916e-05/0.2228, allocations: 153.7 kB / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2228, allocations: 0 / 0.7876 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-05/0.2228, allocations: 19.92 kB / 0.7876 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2228, allocations: 3.938 kB / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.2229, allocations: 4 kB / 0.7876 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2229, allocations: 3.938 kB / 0.7876 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2229, allocations: 4 kB / 0.7876 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.223, allocations: 81.03 kB / 0.7877 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/0.2231, allocations: 85.09 kB / 0.7878 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.2231, allocations: 7.875 kB / 0.7878 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.997e-05/0.2232, allocations: 0 / 0.7878 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.2232, allocations: 7.984 kB / 0.7878 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.2232, allocations: 4 kB / 0.7878 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.382e-05/0.2233, allocations: 83.28 kB / 0.7879 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2233, allocations: 0 / 0.7879 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002305/0.2235, allocations: 35.94 kB / 0.7879 GB, free: 8.305 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.0002325/0.2237, allocations: 139.1 kB / 0.7881 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.2239, allocations: 31.97 kB / 0.7881 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2239, allocations: 0 / 0.7881 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.377e-05/0.224, allocations: 16 kB / 0.7881 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.2242, allocations: 7.984 kB / 0.7881 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.2245, allocations: 139 kB / 0.7883 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.2248, allocations: 0.6768 MB / 0.7889 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.695e-05/0.2248, allocations: 8 kB / 0.7889 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.2248, allocations: 7.438 kB / 0.7889 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2248, allocations: 0 / 0.7889 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of Templates: time 0.003156/0.228, allocations: 1.044 MB / 0.79 GB, free: 6.188 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)