Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.953/2.953, allocations: 287.3 MB / 302.3 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00235/0.00235, allocations: 178.5 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.401/2.401, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 100 kB / 0.7428 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004656, allocations: 16.89 kB / 0.8656 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2122, allocations: 115.3 MB / 0.9782 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001434/0.2137, allocations: 0.9766 MB / 0.9791 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005674/0.2143, allocations: 253.1 kB / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.2144, allocations: 4 kB / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.484e-05/0.2144, allocations: 0 / 0.9794 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.985e-05/0.2145, allocations: 7.984 kB / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.2148, allocations: 39.92 kB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.27e-05/0.2148, allocations: 23.84 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.552e-05/0.2149, allocations: 0 / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.884e-05/0.2149, allocations: 4 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.15e-05/0.215, allocations: 8 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.215, allocations: 4 kB / 0.9795 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.2152, allocations: 55.94 kB / 0.9795 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.261e-05/0.2152, allocations: 7.984 kB / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.2153, allocations: 29.64 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.2154, allocations: 32.2 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.2154, allocations: 0 / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2154, allocations: 0 / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.2154, allocations: 0 / 0.9796 GB, free: 26.92 MB / 0.6198 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.0003235/0.2158, allocations: 335.3 kB / 0.9799 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2158, allocations: 12.03 kB / 0.9799 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.2161, allocations: 23.97 kB / 0.9799 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.422e-05/0.2162, allocations: 166.9 kB / 0.9801 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2162, allocations: 0 / 0.9801 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.2163, allocations: 4 kB / 0.9801 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.2164, allocations: 41.67 kB / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.2164, allocations: 0 / 0.9802 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.2164, allocations: 4 kB / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.2165, allocations: 0 / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.2165, allocations: 27.86 kB / 0.9802 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001511/0.2167, allocations: 161.6 kB / 0.9803 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.2198, allocations: 270.5 kB / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.2198, allocations: 0 / 0.9806 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.2199, allocations: 34.56 kB / 0.9806 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.793e-06/0.2199, allocations: 0 / 0.9806 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002156/0.2201, allocations: 65.72 kB / 0.9807 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.62e-05/0.2201, allocations: 51.41 kB / 0.9807 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.993e-05/0.2202, allocations: 93.86 kB / 0.9808 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2202, allocations: 33.7 kB / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.643e-05/0.2202, allocations: 80.14 kB / 0.9809 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.2203, allocations: 11.8 kB / 0.9809 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.2203, allocations: 0 / 0.9809 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.2204, allocations: 318.8 kB / 0.9813 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.826e-05/0.2204, allocations: 8 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.948e-05/0.2204, allocations: 11.98 kB / 0.9813 GB, free: 25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.869e-05/0.2205, allocations: 8 kB / 0.9813 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2205, allocations: 4.125 kB / 0.9813 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001086/0.2206, allocations: 57.62 kB / 0.9813 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2206, allocations: 4 kB / 0.9813 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2207, allocations: 0 / 0.9813 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2207, allocations: 0 / 0.9813 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.2208, allocations: 8 kB / 0.9813 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.2208, allocations: 0 / 0.9813 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.889e-05/0.2209, allocations: 0 / 0.9813 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.2209, allocations: 0 / 0.9813 GB, free: 24.91 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.604e-05/0.2209, allocations: 119.7 kB / 0.9815 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.221, allocations: 4 kB / 0.9815 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.221, allocations: 11.48 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.221, allocations: 0 / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.221, allocations: 4 kB / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.221, allocations: 0 / 0.9815 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.2212, allocations: 173.4 kB / 0.9816 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2212, allocations: 0 / 0.9816 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.557e-05/0.2213, allocations: 4 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.2213, allocations: 3.938 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.2213, allocations: 4 kB / 0.9817 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2213, allocations: 4 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2213, allocations: 336 / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.2214, allocations: 89.02 kB / 0.9817 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.2215, allocations: 85.05 kB / 0.9818 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.2215, allocations: 4 kB / 0.9818 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.2216, allocations: 0 / 0.9818 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.2217, allocations: 0 / 0.9818 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.2217, allocations: 0 / 0.9818 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.237e-05/0.2217, allocations: 83.28 kB / 0.9819 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2217, allocations: 0 / 0.9819 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002494/0.222, allocations: 4 kB / 0.9819 GB, free: 24.23 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001034/0.2221, allocations: 99.25 kB / 0.982 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.2222, allocations: 27.92 kB / 0.982 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2222, allocations: 0 / 0.982 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.617e-05/0.2223, allocations: 15.98 kB / 0.9821 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.2225, allocations: 8.094 kB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003408/0.2229, allocations: 136.5 kB / 0.9822 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.223, allocations: 0.679 MB / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.373e-05/0.2231, allocations: 4 kB / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.391e-05/0.2231, allocations: 11.44 kB / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of SimCode: time 6.42e-07/0.2232, allocations: 3.938 kB / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of Templates: time 0.002788/0.226, allocations: 473.8 kB / 0.9833 GB, free: 22.74 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)