Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 110.3 kB / 15.99 MB, free: 6.355 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.001057/0.001057, allocations: 194 kB / 16.91 MB, free: 6.191 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.22/1.22, allocations: 222.9 MB / 240.6 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 292.4 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8698/0.8698, allocations: 169.2 MB / 0.4985 GB, free: 4.672 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001562, allocations: 86.77 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1519, allocations: 86.99 MB / 0.6803 GB, free: 8.551 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002159/0.1541, allocations: 1.327 MB / 0.6816 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.1552, allocations: 0.8195 MB / 0.6824 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.1553, allocations: 4 kB / 0.6824 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.1553, allocations: 0 / 0.6824 GB, free: 6.379 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.4e-05/0.1553, allocations: 7.922 kB / 0.6824 GB, free: 6.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.1558, allocations: 111.6 kB / 0.6825 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.003e-05/0.1559, allocations: 27.91 kB / 0.6825 GB, free: 6.234 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.003e-05/0.1559, allocations: 4 kB / 0.6825 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.168e-05/0.1559, allocations: 11.88 kB / 0.6825 GB, free: 6.219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/0.156, allocations: 11.98 kB / 0.6825 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.156, allocations: 4 kB / 0.6826 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/0.1563, allocations: 171.7 kB / 0.6827 GB, free: 6.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.172e-05/0.1563, allocations: 3.938 kB / 0.6827 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.564e-05/0.1564, allocations: 15.92 kB / 0.6827 GB, free: 6.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1565, allocations: 88.14 kB / 0.6828 GB, free: 5.93 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1565, allocations: 0 / 0.6828 GB, free: 5.93 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1565, allocations: 0 / 0.6828 GB, free: 5.93 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1565, allocations: 3.938 kB / 0.6828 GB, free: 5.926 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.0004252/0.157, allocations: 363.4 kB / 0.6832 GB, free: 5.52 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.157, allocations: 8.031 kB / 0.6832 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.1571, allocations: 4.938 kB / 0.6832 GB, free: 5.508 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1572, allocations: 164.3 kB / 0.6833 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.984e-05/0.1573, allocations: 38.25 kB / 0.6834 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.275e-06/0.1573, allocations: 384 / 0.6834 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.1574, allocations: 42.25 kB / 0.6834 GB, free: 5.219 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1574, allocations: 3.938 kB / 0.6834 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1574, allocations: 0 / 0.6834 GB, free: 5.215 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1574, allocations: 3.938 kB / 0.6834 GB, free: 5.211 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.869e-05/0.1575, allocations: 19.98 kB / 0.6834 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.1577, allocations: 157.7 kB / 0.6836 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.1579, allocations: 50.61 kB / 0.6836 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.1579, allocations: 20.94 kB / 0.6837 GB, free: 4.906 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/0.1582, allocations: 178.2 kB / 0.6838 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/0.1582, allocations: 38.5 kB / 0.6839 GB, free: 4.648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 3.367e-06/0.1582, allocations: 7.984 kB / 0.6839 GB, free: 4.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.00022/0.1585, allocations: 73.55 kB / 0.6839 GB, free: 4.562 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.1585, allocations: 51.41 kB / 0.684 GB, free: 4.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.374e-05/0.1586, allocations: 97.86 kB / 0.6841 GB, free: 4.395 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.1586, allocations: 25.7 kB / 0.6841 GB, free: 4.363 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.1586, allocations: 80.14 kB / 0.6842 GB, free: 4.281 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.1586, allocations: 19.73 kB / 0.6842 GB, free: 4.262 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.1587, allocations: 17.72 kB / 0.6842 GB, free: 4.238 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.672e-05/0.1588, allocations: 314.8 kB / 0.6845 GB, free: 3.922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.523e-05/0.1588, allocations: 11.98 kB / 0.6845 GB, free: 3.91 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/0.1589, allocations: 8 kB / 0.6845 GB, free: 3.902 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.665e-05/0.159, allocations: 32.78 kB / 0.6846 GB, free: 3.867 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.159, allocations: 0 / 0.6846 GB, free: 3.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001249/0.1591, allocations: 53.67 kB / 0.6846 GB, free: 3.809 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1591, allocations: 11.94 kB / 0.6846 GB, free: 3.797 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1591, allocations: 4 kB / 0.6846 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.1591, allocations: 0 / 0.6846 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.074e-05/0.1592, allocations: 8 kB / 0.6846 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1592, allocations: 0 / 0.6846 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.651e-05/0.1592, allocations: 0 / 0.6846 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.1592, allocations: 4 kB / 0.6847 GB, free: 3.781 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 6.362e-05/0.1593, allocations: 113.8 kB / 0.6848 GB, free: 3.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.1593, allocations: 7.844 kB / 0.6848 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.1595, allocations: 77.09 kB / 0.6848 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1595, allocations: 0 / 0.6848 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.1595, allocations: 3.938 kB / 0.6848 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.1595, allocations: 0 / 0.6848 GB, free: 3.562 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.828e-05/0.1596, allocations: 157.7 kB / 0.685 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1597, allocations: 0 / 0.685 GB, free: 3.359 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.1597, allocations: 4 kB / 0.685 GB, free: 3.355 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1597, allocations: 7.922 kB / 0.685 GB, free: 3.348 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1597, allocations: 8 kB / 0.685 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1597, allocations: 0 / 0.685 GB, free: 3.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1597, allocations: 4 kB / 0.685 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001437/0.1599, allocations: 81.62 kB / 0.6851 GB, free: 3.238 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.16, allocations: 85.03 kB / 0.6852 GB, free: 3.137 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.16, allocations: 3.938 kB / 0.6852 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.61e-05/0.16, allocations: 4 kB / 0.6852 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.1601, allocations: 3.984 kB / 0.6852 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.1601, allocations: 4 kB / 0.6852 GB, free: 3.121 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.11e-05/0.1601, allocations: 87.31 kB / 0.6853 GB, free: 3.035 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1601, allocations: 0 / 0.6853 GB, free: 3.035 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.1603, allocations: 31.94 kB / 0.6853 GB, free: 3.004 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 0.0002214/0.1606, allocations: 143.2 kB / 0.6854 GB, free: 2.852 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.1607, allocations: 35.91 kB / 0.6855 GB, free: 2.816 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1607, allocations: 0 / 0.6855 GB, free: 2.816 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.963e-05/0.1608, allocations: 16 kB / 0.6855 GB, free: 2.801 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.161, allocations: 17.48 kB / 0.6855 GB, free: 2.785 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.1613, allocations: 148.8 kB / 0.6857 GB, free: 2.609 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.1615, allocations: 0.6768 MB / 0.6863 GB, free: 1.906 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.1616, allocations: 11.44 kB / 0.6863 GB, free: 1.895 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1616, allocations: 0 / 0.6863 GB, free: 1.895 MB / 494.1 MB Notification: Performance of Templates: time 0.002169/0.1638, allocations: 0.9954 MB / 0.6873 GB, free: 0.8984 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1)