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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009269/0.0009269, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001093/0.001094, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.811/1.811, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0006415/0.0006415, allocations: 19.5 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.309, allocations: 116.3 MB / 0.7873 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001396/0.3104, allocations: 0.982 MB / 0.7882 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005684/0.311, allocations: 271.5 kB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.457e-05/0.3111, allocations: 0 / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.3111, allocations: 3.938 kB / 0.7885 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.506e-05/0.3112, allocations: 7.969 kB / 0.7885 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002772/0.3114, allocations: 39.77 kB / 0.7886 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.618e-05/0.3115, allocations: 19.88 kB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.3116, allocations: 0 / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.196e-05/0.3116, allocations: 11.92 kB / 0.7886 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.3117, allocations: 11.98 kB / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.3117, allocations: 0 / 0.7886 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.3118, allocations: 51.95 kB / 0.7886 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.3119, allocations: 7.938 kB / 0.7887 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.3119, allocations: 29.64 kB / 0.7887 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.312, allocations: 44.17 kB / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.312, allocations: 0 / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.044e-06/0.312, allocations: 0 / 0.7887 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.312, allocations: 0 / 0.7887 GB, free: 10.45 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.0003874/0.3124, allocations: 335.4 kB / 0.789 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.3125, allocations: 8.031 kB / 0.7891 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002286/0.3127, allocations: 15.98 kB / 0.7891 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/0.3128, allocations: 174.9 kB / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3129, allocations: 0 / 0.7892 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.3129, allocations: 4 kB / 0.7892 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.313, allocations: 37.69 kB / 0.7893 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.313, allocations: 3.938 kB / 0.7893 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.313, allocations: 4 kB / 0.7893 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3131, allocations: 4 kB / 0.7893 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.223e-05/0.3131, allocations: 15.98 kB / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001586/0.3133, allocations: 153.7 kB / 0.7894 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/0.315, allocations: 278.4 kB / 0.7897 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.891e-05/0.3151, allocations: 16.86 kB / 0.7897 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.3151, allocations: 0 / 0.7897 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.3151, allocations: 34.56 kB / 0.7898 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.3151, allocations: 3.938 kB / 0.7898 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001825/0.3153, allocations: 57.69 kB / 0.7898 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.628e-05/0.3153, allocations: 59.34 kB / 0.7899 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.849e-05/0.3154, allocations: 101.8 kB / 0.79 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.3155, allocations: 25.7 kB / 0.79 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/0.3155, allocations: 80.14 kB / 0.7901 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.3155, allocations: 7.812 kB / 0.7901 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-06/0.3156, allocations: 0 / 0.7901 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3157, allocations: 322.8 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.3157, allocations: 4.125 kB / 0.7904 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.852e-05/0.3157, allocations: 15.98 kB / 0.7904 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.3158, allocations: 8 kB / 0.7904 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3158, allocations: 3.938 kB / 0.7904 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.708e-05/0.3159, allocations: 53.69 kB / 0.7905 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3159, allocations: 4 kB / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3159, allocations: 0 / 0.7905 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3159, allocations: 4.328 kB / 0.7905 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.635e-05/0.316, allocations: 4 kB / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.316, allocations: 0 / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.61e-05/0.316, allocations: 0 / 0.7905 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.316, allocations: 4 kB / 0.7905 GB, free: 8.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.945e-05/0.3161, allocations: 121.7 kB / 0.7906 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.3162, allocations: 3.984 kB / 0.7906 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.3162, allocations: 11.48 kB / 0.7906 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.3162, allocations: 4 kB / 0.7906 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3162, allocations: 4 kB / 0.7906 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3162, allocations: 0 / 0.7906 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.3164, allocations: 161.6 kB / 0.7908 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3164, allocations: 0 / 0.7908 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.3164, allocations: 11.94 kB / 0.7908 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.3164, allocations: 4 kB / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.3165, allocations: 0 / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.3165, allocations: 0 / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3165, allocations: 0 / 0.7908 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.3166, allocations: 81.03 kB / 0.7909 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.657e-05/0.3167, allocations: 85.05 kB / 0.791 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.084e-05/0.3167, allocations: 7.938 kB / 0.791 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.98e-05/0.3167, allocations: 4 kB / 0.791 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.3168, allocations: 0 / 0.791 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.3168, allocations: 4 kB / 0.791 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.3168, allocations: 75.28 kB / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3168, allocations: 0 / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001816/0.317, allocations: 8 kB / 0.791 GB, free: 7.75 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 (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.0001286/0.3171, allocations: 107.2 kB / 0.7912 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.3173, allocations: 16.09 kB / 0.7912 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3173, allocations: 4 kB / 0.7912 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.253e-05/0.3173, allocations: 15.98 kB / 0.7912 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.3175, allocations: 12 kB / 0.7912 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/0.3179, allocations: 128.5 kB / 0.7913 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.3181, allocations: 0.6809 MB / 0.792 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.24e-05/0.3182, allocations: 4 kB / 0.792 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.3182, allocations: 7.438 kB / 0.792 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.3182, allocations: 0 / 0.792 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of Templates: time 0.002523/0.3207, allocations: 489.6 kB / 0.7925 GB, free: 6.242 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: