Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 98.58 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 185 kB / 16.92 MB, free: 6.773 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7167/0.7167, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003188, allocations: 8 kB / 496 MB, free: 6.234 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1525, allocations: 77.54 MB / 0.56 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.001363/0.1539, allocations: 0.9848 MB / 0.561 GB, free: 7.906 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1554, allocations: 0.8851 MB / 0.5619 GB, free: 7.016 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.1555, allocations: 0 / 0.5619 GB, free: 7.016 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.1555, allocations: 3.938 kB / 0.5619 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.592e-05/0.1556, allocations: 7.969 kB / 0.5619 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.1562, allocations: 143.1 kB / 0.562 GB, free: 6.867 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.535e-05/0.1563, allocations: 19.88 kB / 0.562 GB, free: 6.848 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.1563, allocations: 11.98 kB / 0.5621 GB, free: 6.836 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.007e-05/0.1564, allocations: 7.984 kB / 0.5621 GB, free: 6.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.1564, allocations: 11.88 kB / 0.5621 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.1565, allocations: 4 kB / 0.5621 GB, free: 6.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000375/0.1568, allocations: 187.8 kB / 0.5623 GB, free: 6.629 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.1569, allocations: 3.984 kB / 0.5623 GB, free: 6.625 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.1569, allocations: 33.64 kB / 0.5623 GB, free: 6.586 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.1572, allocations: 152 kB / 0.5624 GB, free: 6.438 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1573, allocations: 0 / 0.5624 GB, free: 6.438 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1573, allocations: 0 / 0.5624 GB, free: 6.438 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1573, allocations: 4 kB / 0.5624 GB, free: 6.434 MB / 430.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.0004165/0.1577, allocations: 355.6 kB / 0.5628 GB, free: 6.039 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1577, allocations: 8.031 kB / 0.5628 GB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.1578, allocations: 38.62 kB / 0.5628 GB, free: 5.984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.158, allocations: 12.83 kB / 0.5628 GB, free: 5.973 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1581, allocations: 172.4 kB / 0.563 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.1581, allocations: 384 / 0.563 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1581, allocations: 3.938 kB / 0.563 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.1582, allocations: 45.69 kB / 0.563 GB, free: 5.711 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-06/0.1583, allocations: 0 / 0.563 GB, free: 5.711 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.1583, allocations: 0 / 0.563 GB, free: 5.711 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1583, allocations: 0 / 0.563 GB, free: 5.711 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.426e-05/0.1583, allocations: 19.98 kB / 0.5631 GB, free: 5.691 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.1585, allocations: 153.7 kB / 0.5632 GB, free: 5.492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009069/0.1594, allocations: 130.5 kB / 0.5633 GB, free: 5.355 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.1595, allocations: 20.86 kB / 0.5634 GB, free: 5.332 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.1596, allocations: 89.09 kB / 0.5634 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.1597, allocations: 30.56 kB / 0.5635 GB, free: 5.188 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.1597, allocations: 0 / 0.5635 GB, free: 5.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001915/0.1599, allocations: 61.62 kB / 0.5635 GB, free: 5.121 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.1599, allocations: 55.41 kB / 0.5636 GB, free: 5.055 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.16, allocations: 97.84 kB / 0.5637 GB, free: 4.949 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.16, allocations: 25.7 kB / 0.5637 GB, free: 4.918 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.16, allocations: 80.27 kB / 0.5638 GB, free: 4.836 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.1601, allocations: 19.75 kB / 0.5638 GB, free: 4.816 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.1601, allocations: 13.72 kB / 0.5638 GB, free: 4.797 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1602, allocations: 310.8 kB / 0.5641 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.1603, allocations: 11.98 kB / 0.5641 GB, free: 4.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.1603, allocations: 4 kB / 0.5641 GB, free: 4.469 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.911e-05/0.1604, allocations: 24.86 kB / 0.5641 GB, free: 4.441 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1604, allocations: 0 / 0.5641 GB, free: 4.441 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001025/0.1605, allocations: 61.56 kB / 0.5642 GB, free: 4.375 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1605, allocations: 4 kB / 0.5642 GB, free: 4.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1605, allocations: 8 kB / 0.5642 GB, free: 4.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1605, allocations: 7.922 kB / 0.5642 GB, free: 4.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.838e-05/0.1606, allocations: 11.94 kB / 0.5642 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1606, allocations: 0 / 0.5642 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.1606, allocations: 336 / 0.5642 GB, free: 4.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.1607, allocations: 4 kB / 0.5642 GB, free: 4.34 MB / 430.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 8.133e-05/0.1607, allocations: 113.8 kB / 0.5643 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.175e-05/0.1608, allocations: 4 kB / 0.5643 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.161, allocations: 81.09 kB / 0.5644 GB, free: 4.129 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.161, allocations: 3.984 kB / 0.5644 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.161, allocations: 0 / 0.5644 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1611, allocations: 0 / 0.5644 GB, free: 4.125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.1612, allocations: 169.5 kB / 0.5646 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1612, allocations: 0 / 0.5646 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.324e-05/0.1612, allocations: 12 kB / 0.5646 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1613, allocations: 0 / 0.5646 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1613, allocations: 0 / 0.5646 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1613, allocations: 0 / 0.5646 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1613, allocations: 0 / 0.5646 GB, free: 3.898 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.1614, allocations: 89.05 kB / 0.5647 GB, free: 3.793 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.1615, allocations: 89.03 kB / 0.5648 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1615, allocations: 0 / 0.5648 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.808e-05/0.1616, allocations: 11.94 kB / 0.5648 GB, free: 3.676 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.1616, allocations: 4 kB / 0.5648 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/0.1616, allocations: 0 / 0.5648 GB, free: 3.672 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.277e-05/0.1616, allocations: 83.27 kB / 0.5649 GB, free: 3.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1616, allocations: 0 / 0.5649 GB, free: 3.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002487/0.1619, allocations: 40 kB / 0.5649 GB, free: 3.551 MB / 430.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 (5): * Single equations (assignments): 5 * 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.000717/0.1626, allocations: 0.6914 MB / 0.5656 GB, free: 2.836 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.703e-05/0.1627, allocations: 31.92 kB / 0.5656 GB, free: 2.805 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1627, allocations: 0 / 0.5656 GB, free: 2.805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.612e-05/0.1628, allocations: 12 kB / 0.5656 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.1629, allocations: 11.98 kB / 0.5656 GB, free: 2.781 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.1634, allocations: 186.1 kB / 0.5658 GB, free: 2.555 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.1636, allocations: 0.6731 MB / 0.5665 GB, free: 1.855 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.788e-05/0.1637, allocations: 15.92 kB / 0.5665 GB, free: 1.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.1637, allocations: 15.44 kB / 0.5665 GB, free: 1.824 MB / 430.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1637, allocations: 0 / 0.5665 GB, free: 1.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01183/0.1756, allocations: 1.707 MB / 0.5682 GB, free: 284 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/0.1759, allocations: 253.9 kB / 0.5684 GB, free: 24 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.856/2.032, allocations: 2.672 kB / 0.5684 GB, free: 24 kB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)