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.0007885/0.0007885, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008036/0.0008036, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001674/0.001674, allocations: 263.1 kB / 291.3 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9325/0.9325, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004201/0.0004202, allocations: 12.56 kB / 0.598 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.161, allocations: 88.53 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001366/0.1624, allocations: 0.9806 MB / 0.6854 GB, free: 14.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005882/0.163, allocations: 271.3 kB / 0.6857 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.752e-05/0.1631, allocations: 4.688 kB / 0.6857 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.964e-05/0.1631, allocations: 3.984 kB / 0.6857 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.1632, allocations: 9.578 kB / 0.6857 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.1634, allocations: 35.83 kB / 0.6857 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.223e-05/0.1635, allocations: 20.94 kB / 0.6858 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.1636, allocations: 7.984 kB / 0.6858 GB, free: 14.15 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.895e-05/0.1636, allocations: 11.97 kB / 0.6858 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.1637, allocations: 0.6875 kB / 0.6858 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1637, allocations: 4 kB / 0.6858 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1638, allocations: 55.14 kB / 0.6858 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.1639, allocations: 7.922 kB / 0.6859 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.737e-05/0.1639, allocations: 25.7 kB / 0.6859 GB, free: 14.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.164, allocations: 40.19 kB / 0.6859 GB, free: 14.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.164, allocations: 0 / 0.6859 GB, free: 14.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.164, allocations: 4 kB / 0.6859 GB, free: 14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.164, allocations: 0 / 0.6859 GB, free: 14 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.0004201/0.1645, allocations: 324.7 kB / 0.6862 GB, free: 13.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1645, allocations: 8.031 kB / 0.6862 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002429/0.1648, allocations: 24.58 kB / 0.6863 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1649, allocations: 159.1 kB / 0.6864 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1649, allocations: 9.656 kB / 0.6864 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.1649, allocations: 0 / 0.6864 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.165, allocations: 41.69 kB / 0.6865 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.1651, allocations: 4.812 kB / 0.6865 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1651, allocations: 0 / 0.6865 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1651, allocations: 0 / 0.6865 GB, free: 13.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.467e-05/0.1651, allocations: 24.59 kB / 0.6865 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.1653, allocations: 155.3 kB / 0.6866 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.167, allocations: 275 kB / 0.6869 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/0.1671, allocations: 16.86 kB / 0.6869 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.1671, allocations: 0 / 0.6869 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.1671, allocations: 42.5 kB / 0.687 GB, free: 12.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1671, allocations: 8 kB / 0.687 GB, free: 12.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001772/0.1673, allocations: 57.59 kB / 0.687 GB, free: 12.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.1674, allocations: 59.39 kB / 0.6871 GB, free: 12.64 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.574e-05/0.1674, allocations: 97.8 kB / 0.6872 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.1675, allocations: 25.7 kB / 0.6872 GB, free: 12.51 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.1675, allocations: 80.14 kB / 0.6873 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.1675, allocations: 7.906 kB / 0.6873 GB, free: 12.42 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.496e-06/0.1676, allocations: 0 / 0.6873 GB, free: 12.42 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.1677, allocations: 322.9 kB / 0.6876 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.862e-05/0.1677, allocations: 7.984 kB / 0.6876 GB, free: 12.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.617e-05/0.1677, allocations: 8 kB / 0.6876 GB, free: 12.08 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.1677, allocations: 11.94 kB / 0.6876 GB, free: 12.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1677, allocations: 0 / 0.6876 GB, free: 12.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.453e-05/0.1678, allocations: 53.69 kB / 0.6877 GB, free: 12.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1678, allocations: 8 kB / 0.6877 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1679, allocations: 0 / 0.6877 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1679, allocations: 0 / 0.6877 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.1679, allocations: 4 kB / 0.6877 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1679, allocations: 4 kB / 0.6877 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.168, allocations: 8.172 kB / 0.6877 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.168, allocations: 4 kB / 0.6877 GB, free: 11.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.201e-05/0.1681, allocations: 118.4 kB / 0.6878 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.1681, allocations: 0 / 0.6878 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.1681, allocations: 15.48 kB / 0.6878 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.1681, allocations: 0 / 0.6878 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.1681, allocations: 0 / 0.6878 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.1681, allocations: 0 / 0.6878 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.1683, allocations: 161.6 kB / 0.688 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1683, allocations: 7.938 kB / 0.688 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.1683, allocations: 8 kB / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.1683, allocations: 0 / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.1684, allocations: 0 / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1684, allocations: 0 / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.1684, allocations: 0 / 0.688 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.1685, allocations: 85.06 kB / 0.6881 GB, free: 11.51 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.309e-05/0.1686, allocations: 81.11 kB / 0.6881 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.247e-05/0.1686, allocations: 4 kB / 0.6881 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.841e-05/0.1687, allocations: 0 / 0.6881 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.896e-05/0.1687, allocations: 4 kB / 0.6882 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.1687, allocations: 3.984 kB / 0.6882 GB, free: 11.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.83e-05/0.1687, allocations: 75.28 kB / 0.6882 GB, free: 11.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1687, allocations: 0 / 0.6882 GB, free: 11.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001812/0.1689, allocations: 12 kB / 0.6882 GB, free: 11.32 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 (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.0001187/0.169, allocations: 105.2 kB / 0.6883 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.045e-05/0.1691, allocations: 19.98 kB / 0.6884 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1692, allocations: 7.938 kB / 0.6884 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.341e-05/0.1692, allocations: 12 kB / 0.6884 GB, free: 11.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.1694, allocations: 17.83 kB / 0.6884 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003008/0.1697, allocations: 140.5 kB / 0.6885 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.17, allocations: 0.6759 MB / 0.6892 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.91e-05/0.17, allocations: 0 / 0.6892 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.522e-05/0.1701, allocations: 11.38 kB / 0.6892 GB, free: 10.27 MB / 494.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1701, allocations: 4 kB / 0.6892 GB, free: 10.27 MB / 494.1 MB Notification: Performance of Templates: time 0.002278/0.1724, allocations: 482.3 kB / 0.6897 GB, free: 9.805 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)