Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0008774/0.0008775, allocations: 104.6 kB / 16.35 MB, free: 5.824 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.001011/0.001011, allocations: 193.1 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002021/0.002021, allocations: 291 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8851/0.8851, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 102 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1523, allocations: 86.97 MB / 0.6816 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002087/0.1544, allocations: 1.265 MB / 0.6828 GB, free: 6.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004839/0.1549, allocations: 299 kB / 0.6831 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.077e-05/0.1549, allocations: 0 / 0.6831 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.155, allocations: 0 / 0.6831 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.39e-05/0.155, allocations: 3.938 kB / 0.6831 GB, free: 5.879 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.1552, allocations: 55.69 kB / 0.6832 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.319e-05/0.1553, allocations: 15.88 kB / 0.6832 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.522e-05/0.1553, allocations: 7.984 kB / 0.6832 GB, free: 5.801 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.968e-05/0.1554, allocations: 7.984 kB / 0.6832 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.116e-05/0.1554, allocations: 4 kB / 0.6832 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.1554, allocations: 0 / 0.6832 GB, free: 5.789 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1556, allocations: 59.95 kB / 0.6833 GB, free: 5.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.111e-05/0.1556, allocations: 3.938 kB / 0.6833 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.1556, allocations: 11.98 kB / 0.6833 GB, free: 5.715 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000113/0.1557, allocations: 51.83 kB / 0.6833 GB, free: 5.664 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.1557, allocations: 0 / 0.6833 GB, free: 5.664 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1557, allocations: 4 kB / 0.6833 GB, free: 5.66 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1557, allocations: 0 / 0.6833 GB, free: 5.66 MB / 494.1 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.0003154/0.1561, allocations: 331.5 kB / 0.6836 GB, free: 5.285 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.1561, allocations: 12.03 kB / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001887/0.1563, allocations: 12.92 kB / 0.6837 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.122e-05/0.1564, allocations: 164.4 kB / 0.6838 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.1564, allocations: 8.312 kB / 0.6838 GB, free: 5.055 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.437e-06/0.1564, allocations: 4.375 kB / 0.6838 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.122e-05/0.1565, allocations: 42.25 kB / 0.6839 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.1565, allocations: 192 / 0.6839 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1566, allocations: 7.938 kB / 0.6839 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1566, allocations: 0 / 0.6839 GB, free: 4.996 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.197e-05/0.1566, allocations: 15.98 kB / 0.6839 GB, free: 4.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001383/0.1568, allocations: 157.7 kB / 0.6841 GB, free: 4.777 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.1585, allocations: 270.3 kB / 0.6843 GB, free: 4.504 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.582e-05/0.1585, allocations: 16.86 kB / 0.6843 GB, free: 4.484 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.1585, allocations: 7.938 kB / 0.6843 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.1585, allocations: 34.56 kB / 0.6844 GB, free: 4.434 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1585, allocations: 0 / 0.6844 GB, free: 4.434 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001429/0.1587, allocations: 69.53 kB / 0.6844 GB, free: 4.359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.1587, allocations: 51.41 kB / 0.6845 GB, free: 4.297 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.038e-05/0.1588, allocations: 93.84 kB / 0.6846 GB, free: 4.195 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.1588, allocations: 25.7 kB / 0.6846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.878e-05/0.1588, allocations: 92.02 kB / 0.6847 GB, free: 4.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.1589, allocations: 7.906 kB / 0.6847 GB, free: 4.062 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.1589, allocations: 17.84 kB / 0.6847 GB, free: 4.039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.084e-05/0.159, allocations: 314.8 kB / 0.685 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.901e-05/0.159, allocations: 7.984 kB / 0.685 GB, free: 3.715 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.489e-05/0.159, allocations: 8 kB / 0.685 GB, free: 3.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.294e-05/0.1591, allocations: 29.12 kB / 0.6851 GB, free: 3.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1591, allocations: 4 kB / 0.6851 GB, free: 3.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.025e-05/0.1592, allocations: 53.69 kB / 0.6851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.1592, allocations: 6.344 kB / 0.6851 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1592, allocations: 3.938 kB / 0.6851 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.1592, allocations: 8 kB / 0.6851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.1593, allocations: 7.938 kB / 0.6851 GB, free: 3.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.1593, allocations: 3.984 kB / 0.6851 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.1593, allocations: 11.84 kB / 0.6851 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.1593, allocations: 4 kB / 0.6852 GB, free: 3.57 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.1594, allocations: 105.8 kB / 0.6853 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.456e-06/0.1594, allocations: 0 / 0.6853 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.1594, allocations: 11.44 kB / 0.6853 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1594, allocations: 4 kB / 0.6853 GB, free: 3.438 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1595, allocations: 4 kB / 0.6853 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-06/0.1595, allocations: 0 / 0.6853 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.1596, allocations: 157.7 kB / 0.6854 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1596, allocations: 0 / 0.6854 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.483e-05/0.1596, allocations: 8 kB / 0.6854 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1596, allocations: 0 / 0.6854 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.1596, allocations: 3.938 kB / 0.6854 GB, free: 3.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.1596, allocations: 3.984 kB / 0.6854 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1596, allocations: 0 / 0.6854 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.623e-05/0.1597, allocations: 85.06 kB / 0.6855 GB, free: 3.113 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.1598, allocations: 81.11 kB / 0.6856 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.1598, allocations: 3.938 kB / 0.6856 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.909e-05/0.1599, allocations: 0 / 0.6856 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.1599, allocations: 3.984 kB / 0.6856 GB, free: 3.008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.1599, allocations: 11.94 kB / 0.6856 GB, free: 2.996 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.309e-05/0.1599, allocations: 79.22 kB / 0.6857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1599, allocations: 0 / 0.6857 GB, free: 2.918 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001751/0.1601, allocations: 8 kB / 0.6857 GB, free: 2.91 MB / 494.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.612e-05/0.1602, allocations: 99.34 kB / 0.6858 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.142e-05/0.1603, allocations: 31.92 kB / 0.6858 GB, free: 2.77 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1603, allocations: 0 / 0.6858 GB, free: 2.77 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.025e-05/0.1603, allocations: 12 kB / 0.6858 GB, free: 2.758 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.1605, allocations: 7.984 kB / 0.6858 GB, free: 2.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002522/0.1608, allocations: 126.6 kB / 0.686 GB, free: 2.602 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.161, allocations: 0.6729 MB / 0.6866 GB, free: 1.902 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.598e-05/0.161, allocations: 8 kB / 0.6866 GB, free: 1.895 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.1611, allocations: 7.438 kB / 0.6866 GB, free: 1.887 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1611, allocations: 0 / 0.6866 GB, free: 1.887 MB / 494.1 MB Notification: Performance of Templates: time 0.002056/0.1631, allocations: 0.5256 MB / 0.6871 GB, free: 1.363 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)