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.001365/0.001365, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001003/0.001003, allocations: 195.2 kB / 16.14 MB, free: 6.738 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.425/1.425, allocations: 205.1 MB / 222 MB, free: 5.02 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.67/1.67, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001258/0.001258, allocations: 70.66 kB / 0.6708 GB, free: 26.59 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2163, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002429/0.2187, allocations: 1.332 MB / 0.784 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.2201, allocations: 0.8595 MB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.2202, allocations: 0 / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.2202, allocations: 0 / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.957e-05/0.2203, allocations: 3.938 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.2207, allocations: 107.6 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.28e-05/0.2208, allocations: 27.84 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.838e-05/0.2208, allocations: 8 kB / 0.785 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.827e-05/0.2209, allocations: 8 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.2209, allocations: 11.92 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.221, allocations: 4 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003107/0.2213, allocations: 175.7 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.401e-05/0.2213, allocations: 0 / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.2213, allocations: 11.92 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.2215, allocations: 124 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2216, allocations: 3.938 kB / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2216, allocations: 0 / 0.7853 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.2216, allocations: 4 kB / 0.7853 GB, free: 11.32 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.0004622/0.222, allocations: 359.4 kB / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2221, allocations: 8.031 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.2221, allocations: 12.88 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.2222, allocations: 164.4 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.692e-05/0.2223, allocations: 30.27 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.254e-05/0.2223, allocations: 384 / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.2225, allocations: 46.25 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.2225, allocations: 7.938 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.2225, allocations: 0 / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2225, allocations: 3.938 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.366e-05/0.2226, allocations: 19.98 kB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.2228, allocations: 153.7 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002038/0.223, allocations: 54.53 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.2231, allocations: 20.84 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002925/0.2234, allocations: 178.3 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.2234, allocations: 30.56 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2234, allocations: 4 kB / 0.7863 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002492/0.2236, allocations: 73.45 kB / 0.7864 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.2237, allocations: 59.41 kB / 0.7865 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.956e-05/0.2238, allocations: 93.84 kB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.2238, allocations: 33.7 kB / 0.7866 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.709e-05/0.2238, allocations: 80.14 kB / 0.7867 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.2238, allocations: 7.844 kB / 0.7867 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.2239, allocations: 21.62 kB / 0.7867 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.224, allocations: 314.8 kB / 0.787 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.1e-05/0.2241, allocations: 12 kB / 0.787 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.943e-05/0.2241, allocations: 11.98 kB / 0.787 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.678e-05/0.2242, allocations: 28.84 kB / 0.787 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2242, allocations: 4 kB / 0.787 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001274/0.2243, allocations: 53.62 kB / 0.7871 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.2244, allocations: 7.938 kB / 0.7871 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.2244, allocations: 0 / 0.7871 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.2244, allocations: 4 kB / 0.7871 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.156e-05/0.2244, allocations: 7.984 kB / 0.7871 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2245, allocations: 4 kB / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.2245, allocations: 4 kB / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.2245, allocations: 0 / 0.7871 GB, free: 9.18 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.713e-05/0.2246, allocations: 109.8 kB / 0.7872 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.327e-05/0.2246, allocations: 7.938 kB / 0.7872 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001792/0.2248, allocations: 69.05 kB / 0.7873 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.2248, allocations: 4 kB / 0.7873 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2248, allocations: 0 / 0.7873 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2248, allocations: 4 kB / 0.7873 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.2249, allocations: 157.7 kB / 0.7874 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2249, allocations: 0 / 0.7874 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.912e-05/0.225, allocations: 15.92 kB / 0.7875 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.225, allocations: 3.938 kB / 0.7875 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.225, allocations: 0 / 0.7875 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.225, allocations: 0 / 0.7875 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.225, allocations: 0 / 0.7875 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.2252, allocations: 89.58 kB / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.105e-05/0.2252, allocations: 85.11 kB / 0.7876 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.2253, allocations: 3.984 kB / 0.7876 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.063e-05/0.2253, allocations: 7.969 kB / 0.7876 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.2254, allocations: 7.938 kB / 0.7877 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-06/0.2254, allocations: 0 / 0.7877 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.2254, allocations: 79.28 kB / 0.7877 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2254, allocations: 0 / 0.7877 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002178/0.2256, allocations: 39.92 kB / 0.7878 GB, free: 8.398 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.0002134/0.2259, allocations: 139.2 kB / 0.7879 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001367/0.226, allocations: 23.98 kB / 0.7879 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.226, allocations: 4 kB / 0.7879 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/0.2261, allocations: 19.92 kB / 0.7879 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.2263, allocations: 8 kB / 0.788 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.2266, allocations: 136.9 kB / 0.7881 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000189/0.2268, allocations: 0.677 MB / 0.7887 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.56e-05/0.2268, allocations: 0 / 0.7887 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.918e-05/0.2268, allocations: 15.44 kB / 0.7888 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2268, allocations: 0 / 0.7888 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of Templates: time 0.002932/0.2298, allocations: 1.03 MB / 0.7898 GB, free: 6.301 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)