Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure",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.001101/0.001106, allocations: 106.1 kB / 16.4 MB, free: 6.492 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.001168/0.001168, allocations: 197.2 kB / 17.34 MB, free: 5.762 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7223/0.7223, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 66.75 kB / 0.5572 GB, free: 32.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1557, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.00239/0.1581, allocations: 1.27 MB / 0.6328 GB, free: 3.645 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1592, allocations: 0.5736 MB / 0.6334 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.1592, allocations: 0 / 0.6334 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/0.1592, allocations: 0 / 0.6334 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.958e-05/0.1593, allocations: 11.86 kB / 0.6334 GB, free: 3.055 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.1598, allocations: 95.56 kB / 0.6335 GB, free: 2.961 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 7.357e-05/0.1599, allocations: 15.88 kB / 0.6335 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.1599, allocations: 4 kB / 0.6335 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.16, allocations: 11.92 kB / 0.6335 GB, free: 2.93 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.775e-05/0.16, allocations: 15.98 kB / 0.6335 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.1601, allocations: 0 / 0.6335 GB, free: 2.914 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.1604, allocations: 143.7 kB / 0.6337 GB, free: 2.773 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.1604, allocations: 4 kB / 0.6337 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.698e-05/0.1604, allocations: 7.938 kB / 0.6337 GB, free: 2.762 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.1606, allocations: 86.7 kB / 0.6338 GB, free: 2.68 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1607, allocations: 0 / 0.6338 GB, free: 2.68 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.1607, allocations: 4 kB / 0.6338 GB, free: 2.676 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1607, allocations: 0 / 0.6338 GB, free: 2.676 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004541/0.1611, allocations: 344.3 kB / 0.6341 GB, free: 2.289 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1612, allocations: 12.03 kB / 0.6341 GB, free: 2.277 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.1612, allocations: 34.75 kB / 0.6341 GB, free: 2.234 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004454/0.1617, allocations: 32.81 kB / 0.6342 GB, free: 2.203 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1618, allocations: 164.4 kB / 0.6343 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1619, allocations: 384 / 0.6343 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.1619, allocations: 384 / 0.6343 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.1621, allocations: 54.17 kB / 0.6344 GB, free: 1.945 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1621, allocations: 3.938 kB / 0.6344 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.138e-05/0.1621, allocations: 0 / 0.6344 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1621, allocations: 0 / 0.6344 GB, free: 1.941 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.1622, allocations: 23.97 kB / 0.6344 GB, free: 1.918 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.1625, allocations: 153.7 kB / 0.6346 GB, free: 1.719 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.1626, allocations: 46.58 kB / 0.6346 GB, free: 1.664 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.261e-05/0.1627, allocations: 16.92 kB / 0.6346 GB, free: 1.645 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1627, allocations: 7.922 kB / 0.6346 GB, free: 1.637 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1628, allocations: 30.56 kB / 0.6347 GB, free: 1.598 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.1628, allocations: 0 / 0.6347 GB, free: 1.598 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003428/0.1631, allocations: 77.59 kB / 0.6347 GB, free: 1.516 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1632, allocations: 51.41 kB / 0.6348 GB, free: 1.453 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/0.1633, allocations: 93.86 kB / 0.6349 GB, free: 1.352 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.1633, allocations: 25.7 kB / 0.6349 GB, free: 1.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.548e-05/0.1634, allocations: 84.14 kB / 0.635 GB, free: 1.234 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1634, allocations: 11.84 kB / 0.635 GB, free: 1.223 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.142e-05/0.1634, allocations: 17.83 kB / 0.635 GB, free: 1.199 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1636, allocations: 310.8 kB / 0.6353 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.777e-05/0.1637, allocations: 15.98 kB / 0.6353 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.1637, allocations: 23.86 kB / 0.6353 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/0.1639, allocations: 28.91 kB / 0.6354 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1639, allocations: 3.938 kB / 0.6354 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001745/0.164, allocations: 57.67 kB / 0.6354 GB, free: 0.75 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1641, allocations: 7.938 kB / 0.6354 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1641, allocations: 0 / 0.6354 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1641, allocations: 0 / 0.6354 GB, free: 0.7422 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1642, allocations: 11.98 kB / 0.6354 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1643, allocations: 4.031 kB / 0.6354 GB, free: 0.7266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.781e-05/0.1643, allocations: 11.98 kB / 0.6355 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1643, allocations: 0 / 0.6355 GB, free: 0.7148 MB / 478.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 (2): * Single equations (assignments): 2 * 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.779e-05/0.1644, allocations: 113.8 kB / 0.6356 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.653e-05/0.1645, allocations: 7.844 kB / 0.6356 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.433e-05/0.1645, allocations: 3.125 kB / 0.6356 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1645, allocations: 0 / 0.6356 GB, free: 0.582 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1645, allocations: 4 kB / 0.6356 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1645, allocations: 4 kB / 0.6356 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.1647, allocations: 157.7 kB / 0.6357 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1647, allocations: 192 / 0.6357 GB, free: 380 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.91e-05/0.1648, allocations: 4 kB / 0.6357 GB, free: 376 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1648, allocations: 3.938 kB / 0.6357 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1648, allocations: 7.969 kB / 0.6357 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1648, allocations: 0 / 0.6357 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1648, allocations: 0 / 0.6357 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.165, allocations: 85.11 kB / 0.6358 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.971e-05/0.1651, allocations: 85.09 kB / 0.6359 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.774e-05/0.1651, allocations: 7.938 kB / 0.6359 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.962e-05/0.1652, allocations: 0 / 0.6359 GB, free: 148 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.1652, allocations: 3.938 kB / 0.6359 GB, free: 144 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.1652, allocations: 7.984 kB / 0.6359 GB, free: 136 kB / 478.1 MB Notification: Performance of sorting global known variables: time 3.881e-05/0.1653, allocations: 79.31 kB / 0.636 GB, free: 56 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1653, allocations: 0 / 0.636 GB, free: 56 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.1655, allocations: 16 kB / 0.636 GB, free: 40 kB / 478.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 (2): * Single equations (assignments): 2 * 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.0005772/0.1661, allocations: 0.6281 MB / 0.6366 GB, free: 15.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1663, allocations: 35.91 kB / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.1663, allocations: 0 / 0.6367 GB, free: 15.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.375e-05/0.1664, allocations: 15.92 kB / 0.6367 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.1666, allocations: 16.11 kB / 0.6367 GB, free: 15.31 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/0.1672, allocations: 152.2 kB / 0.6368 GB, free: 15.12 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.1675, allocations: 0.6767 MB / 0.6375 GB, free: 14.42 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.803e-05/0.1675, allocations: 19.92 kB / 0.6375 GB, free: 14.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.1676, allocations: 7.438 kB / 0.6375 GB, free: 14.39 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1676, allocations: 4 kB / 0.6375 GB, free: 14.39 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.1865, allocations: 1.589 MB / 0.6391 GB, free: 12.95 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.76, allocations: 9.859 kB / 0.6391 GB, free: 12.94 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_SaturationPressure.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)