Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5213/0.5213, allocations: 95.62 MB / 110.6 MB, free: 9.379 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001105/0.001105, allocations: 173 kB / 134.2 MB, free: 2.27 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.449/1.449, allocations: 170.7 MB / 328.4 MB, free: 12.29 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001705/0.001706, allocations: 107.3 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 12 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1391, allocations: 61.53 MB / 0.512 GB, free: 6.09 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4606/0.5998, allocations: 94.18 MB / 0.604 GB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.6001, allocations: 77.39 kB / 0.604 GB, free: 13.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00416/0.6043, allocations: 1.485 MB / 0.6055 GB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6043, allocations: 0 / 0.6055 GB, free: 11.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.6043, allocations: 0 / 0.6055 GB, free: 11.77 MB / 410.7 MB 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.0003387/0.6047, allocations: 327.9 kB / 0.6058 GB, free: 11.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.6048, allocations: 19.97 kB / 0.6058 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.605, allocations: 17.8 kB / 0.6058 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.6051, allocations: 167.1 kB / 0.606 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.6051, allocations: 0 / 0.606 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.6051, allocations: 3.062 kB / 0.606 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.6053, allocations: 45.2 kB / 0.606 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.6053, allocations: 0 / 0.606 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.6053, allocations: 3.984 kB / 0.606 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.6053, allocations: 3.938 kB / 0.606 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.446e-05/0.6054, allocations: 23.62 kB / 0.6061 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.6056, allocations: 154.8 kB / 0.6062 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.6076, allocations: 272.2 kB / 0.6065 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.6076, allocations: 0 / 0.6065 GB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.6077, allocations: 34.56 kB / 0.6065 GB, free: 10.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.6077, allocations: 0 / 0.6065 GB, free: 10.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.000188/0.6079, allocations: 72.83 kB / 0.6066 GB, free: 10.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.6079, allocations: 51.41 kB / 0.6066 GB, free: 10.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.608, allocations: 92.98 kB / 0.6067 GB, free: 10.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.608, allocations: 25.7 kB / 0.6067 GB, free: 10.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.608, allocations: 80.14 kB / 0.6068 GB, free: 10.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.6081, allocations: 15.72 kB / 0.6068 GB, free: 10.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.427e-06/0.6081, allocations: 0 / 0.6068 GB, free: 10.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.6082, allocations: 310.8 kB / 0.6071 GB, free: 9.922 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.6082, allocations: 6.812 kB / 0.6071 GB, free: 9.918 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.656e-05/0.6083, allocations: 11.92 kB / 0.6071 GB, free: 9.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.733e-05/0.6083, allocations: 10.88 kB / 0.6071 GB, free: 9.902 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.6083, allocations: 128 / 0.6071 GB, free: 9.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.782e-05/0.6084, allocations: 60.28 kB / 0.6072 GB, free: 9.848 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.6084, allocations: 8 kB / 0.6072 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.6084, allocations: 0 / 0.6072 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.6085, allocations: 3.984 kB / 0.6072 GB, free: 9.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.859e-05/0.6085, allocations: 11.94 kB / 0.6072 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.6086, allocations: 0 / 0.6072 GB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.6086, allocations: 7.906 kB / 0.6072 GB, free: 9.816 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.6086, allocations: 0 / 0.6072 GB, free: 9.816 MB / 410.7 MB 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 7.631e-05/0.6087, allocations: 105.8 kB / 0.6073 GB, free: 9.703 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.6087, allocations: 15.98 kB / 0.6074 GB, free: 9.688 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.6087, allocations: 9.75 kB / 0.6074 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.6087, allocations: 0 / 0.6074 GB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.6088, allocations: 3.953 kB / 0.6074 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.6088, allocations: 0 / 0.6074 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.6089, allocations: 156.9 kB / 0.6075 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.6089, allocations: 4 kB / 0.6075 GB, free: 9.477 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.609, allocations: 4 kB / 0.6075 GB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.609, allocations: 0 / 0.6075 GB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.609, allocations: 0 / 0.6075 GB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.609, allocations: 4 kB / 0.6075 GB, free: 9.469 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.609, allocations: 3.938 kB / 0.6075 GB, free: 9.465 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.6091, allocations: 83.39 kB / 0.6076 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.6092, allocations: 81.09 kB / 0.6077 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.6092, allocations: 3.25 kB / 0.6077 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.974e-05/0.6093, allocations: 2.578 kB / 0.6077 GB, free: 9.277 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.6093, allocations: 4 kB / 0.6077 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.6093, allocations: 0 / 0.6077 GB, free: 9.273 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.447e-05/0.6094, allocations: 79.28 kB / 0.6078 GB, free: 9.195 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6094, allocations: 0 / 0.6078 GB, free: 9.195 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001718/0.6095, allocations: 11.95 kB / 0.6078 GB, free: 9.184 MB / 410.7 MB 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.00014/0.6097, allocations: 102.7 kB / 0.6079 GB, free: 9.078 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.213e-05/0.6098, allocations: 26.75 kB / 0.6079 GB, free: 9.059 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.6098, allocations: 0 / 0.6079 GB, free: 9.059 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.678e-05/0.6098, allocations: 13.55 kB / 0.6079 GB, free: 9.047 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.61, allocations: 14.38 kB / 0.6079 GB, free: 9.039 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003458/0.6104, allocations: 136.1 kB / 0.6081 GB, free: 8.883 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.6107, allocations: 0.6809 MB / 0.6087 GB, free: 8.176 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.993e-05/0.6108, allocations: 4 kB / 0.6087 GB, free: 8.172 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.074e-05/0.6108, allocations: 19.31 kB / 0.6088 GB, free: 8.152 MB / 410.7 MB Notification: Performance of SimCode: time 3.91e-07/0.6108, allocations: 0 / 0.6088 GB, free: 8.152 MB / 410.7 MB Notification: Performance of Templates: time 0.002475/0.6133, allocations: 474.8 kB / 0.6092 GB, free: 7.703 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)