Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.0008657/0.0008656, 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.001052/0.001053, allocations: 184.6 kB / 16.92 MB, free: 6.754 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.374/1.374, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7173/0.7173, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003612, allocations: 13.44 kB / 496 MB, free: 6.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1632, allocations: 77.53 MB / 0.5601 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001386/0.1647, allocations: 0.9731 MB / 0.561 GB, free: 7.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005338/0.1652, allocations: 243.2 kB / 0.5612 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.353e-05/0.1653, allocations: 0 / 0.5612 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.1653, allocations: 0 / 0.5612 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.293e-05/0.1653, allocations: 3.938 kB / 0.5612 GB, free: 7.668 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.1656, allocations: 35.89 kB / 0.5613 GB, free: 7.633 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.213e-05/0.1657, allocations: 15.92 kB / 0.5613 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.1657, allocations: 0 / 0.5613 GB, free: 7.617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.661e-05/0.1658, allocations: 12 kB / 0.5613 GB, free: 7.605 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.212e-05/0.1658, allocations: 19.91 kB / 0.5613 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.1659, allocations: 0 / 0.5613 GB, free: 7.586 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.166, allocations: 47.95 kB / 0.5614 GB, free: 7.539 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.166, allocations: 4 kB / 0.5614 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.1661, allocations: 33.69 kB / 0.5614 GB, free: 7.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.1662, allocations: 36.17 kB / 0.5614 GB, free: 7.461 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1662, allocations: 0 / 0.5614 GB, free: 7.461 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1662, allocations: 0 / 0.5614 GB, free: 7.461 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1662, allocations: 0 / 0.5614 GB, free: 7.461 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000396/0.1666, allocations: 339.5 kB / 0.5618 GB, free: 7.078 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1667, allocations: 8.031 kB / 0.5618 GB, free: 7.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.269e-05/0.1667, allocations: 34.75 kB / 0.5618 GB, free: 7.027 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.1669, allocations: 8.922 kB / 0.5618 GB, free: 7.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.2e-05/0.167, allocations: 164.4 kB / 0.562 GB, free: 6.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.167, allocations: 4.375 kB / 0.562 GB, free: 6.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.167, allocations: 4.375 kB / 0.562 GB, free: 6.812 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1671, allocations: 46.19 kB / 0.562 GB, free: 6.762 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1671, allocations: 7.938 kB / 0.562 GB, free: 6.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1672, allocations: 8 kB / 0.562 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1672, allocations: 0 / 0.562 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.586e-05/0.1672, allocations: 15.98 kB / 0.5621 GB, free: 6.73 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001537/0.1674, allocations: 157.6 kB / 0.5622 GB, free: 6.527 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.061e-05/0.1675, allocations: 42.62 kB / 0.5622 GB, free: 6.477 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.338e-05/0.1675, allocations: 20.92 kB / 0.5623 GB, free: 6.453 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.1675, allocations: 4 kB / 0.5623 GB, free: 6.449 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.1676, allocations: 42.5 kB / 0.5623 GB, free: 6.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1676, allocations: 0 / 0.5623 GB, free: 6.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=8): time 0.002005/0.1696, allocations: 0.498 MB / 0.5628 GB, free: 5.848 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.1696, allocations: 51.41 kB / 0.5628 GB, free: 5.785 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.911e-05/0.1697, allocations: 89.86 kB / 0.5629 GB, free: 5.688 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.1697, allocations: 29.64 kB / 0.563 GB, free: 5.652 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.839e-05/0.1697, allocations: 80.14 kB / 0.563 GB, free: 5.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.1698, allocations: 31.55 kB / 0.5631 GB, free: 5.539 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.1698, allocations: 17.72 kB / 0.5631 GB, free: 5.516 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.1699, allocations: 314.8 kB / 0.5634 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.682e-05/0.17, allocations: 23.98 kB / 0.5634 GB, free: 5.176 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.122e-05/0.17, allocations: 23.98 kB / 0.5634 GB, free: 5.152 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.1701, allocations: 60.8 kB / 0.5635 GB, free: 5.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1701, allocations: 0 / 0.5635 GB, free: 5.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001476/0.1703, allocations: 93.56 kB / 0.5636 GB, free: 4.992 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1703, allocations: 9.25 kB / 0.5636 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1703, allocations: 0 / 0.5636 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.1703, allocations: 0 / 0.5636 GB, free: 4.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.1705, allocations: 15.98 kB / 0.5636 GB, free: 4.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.1705, allocations: 4 kB / 0.5636 GB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.832e-05/0.1706, allocations: 4 kB / 0.5636 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1706, allocations: 4 kB / 0.5636 GB, free: 4.957 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 (9): * Single equations (assignments): 9 * 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 7.099e-05/0.1706, allocations: 105.8 kB / 0.5637 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.782e-05/0.1707, allocations: 11.94 kB / 0.5637 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.268e-05/0.1707, allocations: 11.97 kB / 0.5637 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1707, allocations: 0 / 0.5637 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.1707, allocations: 288 / 0.5637 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1707, allocations: 0 / 0.5637 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.1709, allocations: 175.5 kB / 0.5639 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1709, allocations: 7.875 kB / 0.5639 GB, free: 4.594 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001578/0.1711, allocations: 23.92 kB / 0.5639 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1711, allocations: 448 / 0.5639 GB, free: 4.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1711, allocations: 3.938 kB / 0.5639 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1711, allocations: 0 / 0.5639 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1711, allocations: 4 kB / 0.5639 GB, free: 4.562 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.1713, allocations: 149 kB / 0.5641 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.1714, allocations: 89.09 kB / 0.5642 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.1714, allocations: 0 / 0.5642 GB, free: 4.293 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1715, allocations: 11.98 kB / 0.5642 GB, free: 4.281 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.1715, allocations: 7.938 kB / 0.5642 GB, free: 4.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1716, allocations: 0 / 0.5642 GB, free: 4.273 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.364e-05/0.1716, allocations: 75.28 kB / 0.5643 GB, free: 4.199 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1716, allocations: 0 / 0.5643 GB, free: 4.199 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001868/0.1718, allocations: 12 kB / 0.5643 GB, free: 4.188 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (8): * Single equations (assignments): 8 * 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.0004584/0.1722, allocations: 0.6828 MB / 0.5649 GB, free: 3.477 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.1724, allocations: 67.91 kB / 0.565 GB, free: 3.41 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1724, allocations: 0 / 0.565 GB, free: 3.41 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.968e-05/0.1725, allocations: 31.92 kB / 0.565 GB, free: 3.379 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.1727, allocations: 8 kB / 0.565 GB, free: 3.371 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.1739, allocations: 1.281 MB / 0.5663 GB, free: 2.004 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.1741, allocations: 0.6809 MB / 0.567 GB, free: 1.297 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.19e-05/0.1742, allocations: 8 kB / 0.567 GB, free: 1.289 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.1743, allocations: 15.44 kB / 0.567 GB, free: 1.273 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1743, allocations: 0 / 0.567 GB, free: 1.273 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01048/0.1848, allocations: 1.414 MB / 0.5684 GB, free: 84 kB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.185, allocations: 254.7 kB / 0.5686 GB, free: 15.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/1.964, allocations: 7.938 kB / 0.5686 GB, free: 15.82 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)