Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.579/1.579, allocations: 292.3 MB / 308.1 MB, free: 4.281 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.001458/0.001459, allocations: 194.4 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009592/0.0009591, allocations: 97.95 kB / 0.748 GB, free: 61.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009987/0.0009988, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2216, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002592/0.2242, allocations: 1.317 MB / 0.9835 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005723/0.2248, allocations: 303 kB / 0.9838 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.55e-05/0.2249, allocations: 0 / 0.9838 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.2249, allocations: 0 / 0.9838 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.91e-05/0.225, allocations: 15.91 kB / 0.9838 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.2252, allocations: 43.83 kB / 0.9839 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.36e-05/0.2253, allocations: 11.94 kB / 0.9839 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.2253, allocations: 4 kB / 0.9839 GB, free: 8.695 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.2254, allocations: 15.92 kB / 0.9839 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.2254, allocations: 3.984 kB / 0.9839 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.2255, allocations: 4 kB / 0.9839 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.2256, allocations: 51.95 kB / 0.9839 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.086e-05/0.2256, allocations: 4 kB / 0.9839 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.2256, allocations: 7.938 kB / 0.984 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.2258, allocations: 60.09 kB / 0.984 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2258, allocations: 0 / 0.984 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.21e-07/0.2258, allocations: 0 / 0.984 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.755e-06/0.2258, allocations: 0 / 0.984 GB, free: 8.551 MB / 0.7136 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.0003563/0.2261, allocations: 339.5 kB / 0.9843 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2262, allocations: 11.97 kB / 0.9843 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000201/0.2264, allocations: 20.92 kB / 0.9844 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.549e-05/0.2265, allocations: 164.4 kB / 0.9845 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2265, allocations: 4.375 kB / 0.9845 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.685e-06/0.2265, allocations: 384 / 0.9845 GB, free: 7.934 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001067/0.2266, allocations: 46.23 kB / 0.9846 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.2267, allocations: 192 / 0.9846 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.2267, allocations: 3.938 kB / 0.9846 GB, free: 7.879 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.2267, allocations: 4 kB / 0.9846 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.525e-05/0.2267, allocations: 15.98 kB / 0.9846 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.2269, allocations: 161.7 kB / 0.9847 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00174/0.2286, allocations: 262.4 kB / 0.985 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.277e-05/0.2287, allocations: 28.84 kB / 0.985 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.2287, allocations: 0 / 0.985 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.2287, allocations: 34.56 kB / 0.9851 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.2287, allocations: 0 / 0.9851 GB, free: 7.312 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001467/0.2289, allocations: 69.56 kB / 0.9851 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.2289, allocations: 51.41 kB / 0.9852 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.982e-05/0.229, allocations: 89.86 kB / 0.9853 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.229, allocations: 33.62 kB / 0.9853 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.626e-05/0.2291, allocations: 88.27 kB / 0.9854 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.2291, allocations: 11.81 kB / 0.9854 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.2291, allocations: 13.72 kB / 0.9854 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.2292, allocations: 314.8 kB / 0.9857 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.2293, allocations: 7.984 kB / 0.9857 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.622e-05/0.2293, allocations: 11.94 kB / 0.9857 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.236e-05/0.2293, allocations: 24.86 kB / 0.9857 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2293, allocations: 0 / 0.9857 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.214e-05/0.2294, allocations: 61.62 kB / 0.9858 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2294, allocations: 4.625 kB / 0.9858 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2294, allocations: 3.938 kB / 0.9858 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2295, allocations: 4 kB / 0.9858 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.2295, allocations: 4 kB / 0.9858 GB, free: 6.473 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2295, allocations: 3.984 kB / 0.9858 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.126e-05/0.2296, allocations: 3.984 kB / 0.9858 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.677e-06/0.2296, allocations: 0 / 0.9858 GB, free: 6.465 MB / 0.7136 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 5.994e-05/0.2296, allocations: 113.8 kB / 0.9859 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.2297, allocations: 4 kB / 0.9859 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.797e-05/0.2297, allocations: 11.44 kB / 0.9859 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2297, allocations: 4.328 kB / 0.986 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.2297, allocations: 0 / 0.986 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-06/0.2297, allocations: 0 / 0.986 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.2298, allocations: 161.5 kB / 0.9861 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2298, allocations: 0 / 0.9861 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.2299, allocations: 7.984 kB / 0.9861 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.2299, allocations: 4 kB / 0.9861 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.2299, allocations: 3.938 kB / 0.9861 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2299, allocations: 0 / 0.9861 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2299, allocations: 7.938 kB / 0.9861 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.2302, allocations: 0.6279 MB / 0.9867 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.484e-05/0.2303, allocations: 85.09 kB / 0.9868 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.2303, allocations: 4 kB / 0.9868 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.671e-05/0.2304, allocations: 0 / 0.9868 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.2304, allocations: 8 kB / 0.9868 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.147e-06/0.2304, allocations: 4 kB / 0.9868 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.703e-05/0.2304, allocations: 79.27 kB / 0.9869 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2304, allocations: 0 / 0.9869 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002947/0.2307, allocations: 8 kB / 0.9869 GB, free: 5.203 MB / 0.7136 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 9.545e-05/0.2308, allocations: 99.25 kB / 0.987 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.642e-05/0.2309, allocations: 27.92 kB / 0.987 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2309, allocations: 0 / 0.987 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.243e-05/0.231, allocations: 23.97 kB / 0.9871 GB, free: 5.043 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.2312, allocations: 14.5 kB / 0.9871 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.2315, allocations: 241.8 kB / 0.9873 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.2318, allocations: 0.677 MB / 0.988 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.935e-05/0.2318, allocations: 4 kB / 0.988 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.2319, allocations: 11.44 kB / 0.988 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.2319, allocations: 0 / 0.988 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of Templates: time 0.001979/0.2339, allocations: 0.4912 MB / 0.9885 GB, free: 3.551 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)