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.007184/0.007185, allocations: 101.1 kB / 15.88 MB, free: 6.32 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.001815/0.001815, allocations: 197.3 kB / 16.79 MB, free: 6.246 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.259/1.259, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.692/0.692, allocations: 115.3 MB / 406 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001443, allocations: 67.19 kB / 493 MB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1622, allocations: 76.18 MB / 0.5558 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.00277/0.165, allocations: 1.331 MB / 0.5571 GB, free: 9.367 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001627/0.1667, allocations: 0.9005 MB / 0.558 GB, free: 8.461 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.724e-05/0.1667, allocations: 4 kB / 0.558 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.492e-05/0.1668, allocations: 3.938 kB / 0.558 GB, free: 8.453 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.609e-05/0.1668, allocations: 4 kB / 0.558 GB, free: 8.449 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006129/0.1674, allocations: 142.8 kB / 0.5582 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.485e-05/0.1675, allocations: 23.86 kB / 0.5582 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.543e-05/0.1675, allocations: 4 kB / 0.5582 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.801e-05/0.1676, allocations: 7.938 kB / 0.5582 GB, free: 8.277 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.441e-05/0.1677, allocations: 15.97 kB / 0.5582 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.1677, allocations: 0 / 0.5582 GB, free: 8.262 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003575/0.168, allocations: 187.8 kB / 0.5584 GB, free: 8.078 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.1681, allocations: 8 kB / 0.5584 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.293e-05/0.1681, allocations: 11.88 kB / 0.5584 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.1684, allocations: 152 kB / 0.5586 GB, free: 7.91 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1684, allocations: 0 / 0.5586 GB, free: 7.91 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1684, allocations: 0 / 0.5586 GB, free: 7.91 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1684, allocations: 3.938 kB / 0.5586 GB, free: 7.906 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.0004157/0.1688, allocations: 355.6 kB / 0.5589 GB, free: 7.512 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1689, allocations: 8.031 kB / 0.5589 GB, free: 7.504 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.1689, allocations: 38.67 kB / 0.5589 GB, free: 7.457 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001794/0.1691, allocations: 8.844 kB / 0.559 GB, free: 7.449 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1692, allocations: 168.4 kB / 0.5591 GB, free: 7.246 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1692, allocations: 4.375 kB / 0.5591 GB, free: 7.242 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.032e-05/0.1693, allocations: 3.938 kB / 0.5591 GB, free: 7.238 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.1694, allocations: 41.69 kB / 0.5592 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.71e-06/0.1694, allocations: 0 / 0.5592 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1694, allocations: 4 kB / 0.5592 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1694, allocations: 0 / 0.5592 GB, free: 7.188 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.23e-05/0.1695, allocations: 19.98 kB / 0.5592 GB, free: 7.168 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.1696, allocations: 157.7 kB / 0.5593 GB, free: 6.965 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009083/0.1706, allocations: 138.5 kB / 0.5595 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.1706, allocations: 20.86 kB / 0.5595 GB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.1707, allocations: 85.09 kB / 0.5596 GB, free: 6.695 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.1707, allocations: 30.56 kB / 0.5596 GB, free: 6.656 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1708, allocations: 0 / 0.5596 GB, free: 6.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001742/0.1709, allocations: 65.62 kB / 0.5597 GB, free: 6.586 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.171, allocations: 55.41 kB / 0.5597 GB, free: 6.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.367e-05/0.1711, allocations: 97.84 kB / 0.5598 GB, free: 6.414 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.1711, allocations: 25.7 kB / 0.5598 GB, free: 6.383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.281e-05/0.1711, allocations: 80.14 kB / 0.5599 GB, free: 6.301 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.1711, allocations: 19.75 kB / 0.5599 GB, free: 6.281 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.1712, allocations: 13.72 kB / 0.5599 GB, free: 6.262 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.1713, allocations: 318.8 kB / 0.5602 GB, free: 5.941 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.303e-05/0.1713, allocations: 8 kB / 0.5603 GB, free: 5.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.838e-05/0.1713, allocations: 8 kB / 0.5603 GB, free: 5.926 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.791e-05/0.1714, allocations: 41.23 kB / 0.5603 GB, free: 5.883 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1714, allocations: 0 / 0.5603 GB, free: 5.883 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.885e-05/0.1715, allocations: 57.56 kB / 0.5604 GB, free: 5.82 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1715, allocations: 6.5 kB / 0.5604 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1716, allocations: 0 / 0.5604 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.1716, allocations: 0 / 0.5604 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.963e-05/0.1716, allocations: 12 kB / 0.5604 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1716, allocations: 0 / 0.5604 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/0.1717, allocations: 0 / 0.5604 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.1717, allocations: 7.938 kB / 0.5604 GB, free: 5.797 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 6.889e-05/0.1718, allocations: 113.8 kB / 0.5605 GB, free: 5.676 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.31e-05/0.1718, allocations: 3.984 kB / 0.5605 GB, free: 5.672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002592/0.1721, allocations: 81.11 kB / 0.5606 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1721, allocations: 0 / 0.5606 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1721, allocations: 4 kB / 0.5606 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.1721, allocations: 0 / 0.5606 GB, free: 5.582 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.1722, allocations: 165.5 kB / 0.5607 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1722, allocations: 0 / 0.5607 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.341e-05/0.1723, allocations: 8 kB / 0.5607 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1723, allocations: 0 / 0.5607 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-06/0.1723, allocations: 0 / 0.5607 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1723, allocations: 0 / 0.5607 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1723, allocations: 0 / 0.5607 GB, free: 5.363 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.1724, allocations: 97.05 kB / 0.5608 GB, free: 5.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.1725, allocations: 85.05 kB / 0.5609 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.1725, allocations: 0 / 0.5609 GB, free: 5.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.848e-05/0.1726, allocations: 3.938 kB / 0.5609 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.1726, allocations: 8.109 kB / 0.5609 GB, free: 5.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.625e-06/0.1726, allocations: 4 kB / 0.5609 GB, free: 5.133 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.917e-05/0.1726, allocations: 75.28 kB / 0.561 GB, free: 5.059 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1726, allocations: 0 / 0.561 GB, free: 5.059 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002538/0.1729, allocations: 48 kB / 0.561 GB, free: 5.012 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.0006231/0.1735, allocations: 0.6896 MB / 0.5617 GB, free: 4.297 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.769e-05/0.1736, allocations: 31.88 kB / 0.5618 GB, free: 4.266 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1736, allocations: 8 kB / 0.5618 GB, free: 4.258 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.825e-05/0.1737, allocations: 15.98 kB / 0.5618 GB, free: 4.242 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.1738, allocations: 4 kB / 0.5618 GB, free: 4.238 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/0.1743, allocations: 174 kB / 0.5619 GB, free: 4.027 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.1745, allocations: 0.677 MB / 0.5626 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.477e-05/0.1746, allocations: 11.94 kB / 0.5626 GB, free: 3.312 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.1747, allocations: 11.44 kB / 0.5626 GB, free: 3.301 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1747, allocations: 0 / 0.5626 GB, free: 3.301 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1954/0.3701, allocations: 1.804 MB / 0.5644 GB, free: 1.621 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004108/0.3705, allocations: 264.1 kB / 0.5646 GB, free: 1.363 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/2.704, allocations: 0 / 0.5646 GB, free: 1.363 MB / 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)