Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX") translateModel(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001366/0.001366, 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.001595/0.001595, allocations: 192.3 kB / 16.25 MB, free: 6.617 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.338/1.338, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.658/1.658, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.0014/0.0014, allocations: 68.53 kB / 0.671 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2078, allocations: 114.6 MB / 0.7828 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.Phi_pTX): time 0.003388/0.2112, allocations: 1.553 MB / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001581/0.2128, allocations: 0.8088 MB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.2129, allocations: 4 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.567e-05/0.2129, allocations: 0 / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.213e-05/0.213, allocations: 11.86 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.2135, allocations: 115.6 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.674e-05/0.2136, allocations: 55.73 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.2138, allocations: 19.97 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.437e-05/0.2138, allocations: 23.92 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.491e-05/0.2139, allocations: 19.92 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.2139, allocations: 4 kB / 0.7854 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004361/0.2144, allocations: 179.7 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.86e-05/0.2144, allocations: 8 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.769e-05/0.2144, allocations: 23.86 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002986/0.2148, allocations: 151.9 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.2148, allocations: 0 / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.532e-06/0.2148, allocations: 3.938 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.2148, allocations: 4 kB / 0.7857 GB, free: 10.97 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006242/0.2154, allocations: 399.2 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2155, allocations: 8.031 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.2155, allocations: 4.938 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.2157, allocations: 172.2 kB / 0.7863 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.2157, allocations: 4.375 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.2157, allocations: 4.375 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00034/0.2161, allocations: 74.22 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.2161, allocations: 192 / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.2161, allocations: 3.938 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2161, allocations: 4 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.2165, allocations: 67.91 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.217, allocations: 296.6 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/0.2173, allocations: 50.53 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.2175, allocations: 44.92 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.2178, allocations: 97.03 kB / 0.7869 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.2178, allocations: 30.56 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.2178, allocations: 0 / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.000766/0.2186, allocations: 133.5 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.2187, allocations: 55.41 kB / 0.7871 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.2188, allocations: 114.2 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.2188, allocations: 29.7 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.2189, allocations: 92.03 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.2189, allocations: 11.91 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.219, allocations: 9.719 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.2191, allocations: 326.8 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002118/0.2193, allocations: 31.97 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.2195, allocations: 27.95 kB / 0.7877 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.2199, allocations: 64.8 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2199, allocations: 0 / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004191/0.2204, allocations: 113.5 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2204, allocations: 8 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2204, allocations: 0 / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2204, allocations: 0 / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.2206, allocations: 15.98 kB / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.2206, allocations: 0 / 0.7879 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.2207, allocations: 11.98 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.2207, allocations: 7.938 kB / 0.788 GB, free: 8.457 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 (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 9.796e-05/0.2209, allocations: 114.4 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.2209, allocations: 7.984 kB / 0.7881 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.2214, allocations: 113.8 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.2214, allocations: 4 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2215, allocations: 0 / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2215, allocations: 0 / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.2217, allocations: 185.4 kB / 0.7884 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.2217, allocations: 4 kB / 0.7884 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.2219, allocations: 11.98 kB / 0.7884 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2219, allocations: 0 / 0.7884 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.2219, allocations: 3.938 kB / 0.7884 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.2219, allocations: 8 kB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2219, allocations: 0 / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/0.2224, allocations: 195.4 kB / 0.7886 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.2225, allocations: 81.02 kB / 0.7887 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.31e-05/0.2225, allocations: 8 kB / 0.7887 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.2227, allocations: 7.984 kB / 0.7887 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.2228, allocations: 15.92 kB / 0.7887 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.2228, allocations: 0 / 0.7887 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.2229, allocations: 91.33 kB / 0.7888 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2229, allocations: 0 / 0.7888 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004942/0.2234, allocations: 35.98 kB / 0.7888 GB, free: 7.48 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 (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.0002571/0.2236, allocations: 131.2 kB / 0.7889 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004624/0.2241, allocations: 71.92 kB / 0.789 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2241, allocations: 0 / 0.789 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.2244, allocations: 43.89 kB / 0.789 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.2249, allocations: 11.94 kB / 0.7891 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.2253, allocations: 163.1 kB / 0.7892 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.2256, allocations: 0.6846 MB / 0.7899 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.567e-05/0.2257, allocations: 0 / 0.7899 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.828e-05/0.2257, allocations: 11.44 kB / 0.7899 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.2257, allocations: 4 kB / 0.7899 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of Templates: time 0.004757/0.2305, allocations: 1.245 MB / 0.7911 GB, free: 5.074 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.Phi_pTX.pipe 2>&1)