Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.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.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",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.001188/0.001188, allocations: 99.28 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.001634/0.001634, allocations: 181.8 kB / 16.92 MB, free: 6.898 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.417/1.417, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7453/0.7453, allocations: 115.5 MB / 407.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.0003632, allocations: 13.08 kB / 496 MB, free: 6.301 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1709, allocations: 77.53 MB / 0.5601 GB, free: 8.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001552/0.1726, allocations: 0.9964 MB / 0.561 GB, free: 7.961 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.1737, allocations: 0.6513 MB / 0.5617 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.791e-05/0.1738, allocations: 0 / 0.5617 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.582e-05/0.1738, allocations: 0 / 0.5617 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.657e-05/0.1738, allocations: 3.938 kB / 0.5617 GB, free: 7.301 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004529/0.1743, allocations: 95.62 kB / 0.5618 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.061e-05/0.1744, allocations: 23.92 kB / 0.5618 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.1744, allocations: 0 / 0.5618 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.916e-05/0.1744, allocations: 12 kB / 0.5618 GB, free: 7.172 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.438e-05/0.1745, allocations: 11.92 kB / 0.5618 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1745, allocations: 0 / 0.5618 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003156/0.1749, allocations: 155.7 kB / 0.562 GB, free: 7.008 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.428e-05/0.1749, allocations: 3.984 kB / 0.562 GB, free: 7.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.1749, allocations: 45.62 kB / 0.562 GB, free: 6.953 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1751, allocations: 99.98 kB / 0.5621 GB, free: 6.855 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1751, allocations: 0 / 0.5621 GB, free: 6.855 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1752, allocations: 0 / 0.5621 GB, free: 6.855 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.1752, allocations: 0 / 0.5621 GB, free: 6.855 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.0004556/0.1756, allocations: 343.5 kB / 0.5624 GB, free: 6.469 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.1757, allocations: 12.03 kB / 0.5624 GB, free: 6.457 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.978e-05/0.1757, allocations: 34.75 kB / 0.5625 GB, free: 6.414 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004229/0.1762, allocations: 32.81 kB / 0.5625 GB, free: 6.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1763, allocations: 164.4 kB / 0.5627 GB, free: 6.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.1763, allocations: 4.375 kB / 0.5627 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.1763, allocations: 384 / 0.5627 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.1765, allocations: 58.22 kB / 0.5627 GB, free: 6.117 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1766, allocations: 3.938 kB / 0.5627 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.1766, allocations: 4 kB / 0.5627 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1766, allocations: 0 / 0.5627 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.1767, allocations: 31.91 kB / 0.5628 GB, free: 6.078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.1769, allocations: 161.7 kB / 0.5629 GB, free: 5.871 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.1773, allocations: 66.67 kB / 0.563 GB, free: 5.797 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.711e-05/0.1774, allocations: 28.83 kB / 0.563 GB, free: 5.766 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1774, allocations: 3.984 kB / 0.563 GB, free: 5.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.1774, allocations: 34.56 kB / 0.563 GB, free: 5.719 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1774, allocations: 0 / 0.563 GB, free: 5.719 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.003443/0.1809, allocations: 0.5797 MB / 0.5636 GB, free: 5.086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.712e-05/0.1809, allocations: 51.41 kB / 0.5637 GB, free: 5.023 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.095e-05/0.181, allocations: 101.8 kB / 0.5638 GB, free: 4.914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.181, allocations: 33.83 kB / 0.5638 GB, free: 4.875 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.1811, allocations: 80.14 kB / 0.5639 GB, free: 4.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.1811, allocations: 15.72 kB / 0.5639 GB, free: 4.777 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.1812, allocations: 13.72 kB / 0.5639 GB, free: 4.758 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1813, allocations: 318.8 kB / 0.5642 GB, free: 4.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.1815, allocations: 35.97 kB / 0.5642 GB, free: 4.402 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.1816, allocations: 39.97 kB / 0.5643 GB, free: 4.363 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.1819, allocations: 76.81 kB / 0.5643 GB, free: 4.285 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1819, allocations: 0 / 0.5643 GB, free: 4.285 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003668/0.1823, allocations: 137.6 kB / 0.5645 GB, free: 4.145 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1823, allocations: 8 kB / 0.5645 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1823, allocations: 0 / 0.5645 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1823, allocations: 0 / 0.5645 GB, free: 4.137 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.1826, allocations: 23.97 kB / 0.5645 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.1826, allocations: 0 / 0.5645 GB, free: 4.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.1827, allocations: 7.984 kB / 0.5645 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1828, allocations: 4 kB / 0.5645 GB, free: 4.102 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 (7): * Single equations (assignments): 7 * 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.895e-05/0.1829, allocations: 113.8 kB / 0.5646 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.1829, allocations: 11.83 kB / 0.5646 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.806e-05/0.183, allocations: 12.03 kB / 0.5646 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.183, allocations: 8 kB / 0.5647 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.183, allocations: 0 / 0.5647 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.183, allocations: 0 / 0.5647 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1831, allocations: 183.7 kB / 0.5648 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1832, allocations: 0 / 0.5648 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.1834, allocations: 31.84 kB / 0.5649 GB, free: 3.691 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1834, allocations: 3.938 kB / 0.5649 GB, free: 3.688 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1834, allocations: 3.984 kB / 0.5649 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1834, allocations: 0 / 0.5649 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1834, allocations: 0 / 0.5649 GB, free: 3.684 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.184, allocations: 189 kB / 0.565 GB, free: 3.48 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.184, allocations: 81.05 kB / 0.5651 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.1841, allocations: 4.062 kB / 0.5651 GB, free: 3.379 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.1842, allocations: 15.95 kB / 0.5651 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.711e-05/0.1843, allocations: 8 kB / 0.5652 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.1843, allocations: 3.984 kB / 0.5652 GB, free: 3.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.417e-05/0.1843, allocations: 79.28 kB / 0.5652 GB, free: 3.273 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1843, allocations: 3.938 kB / 0.5652 GB, free: 3.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.1846, allocations: 31.92 kB / 0.5653 GB, free: 3.238 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 (6): * Single equations (assignments): 6 * 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.0008198/0.1854, allocations: 0.753 MB / 0.566 GB, free: 2.457 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003235/0.1857, allocations: 91.84 kB / 0.5661 GB, free: 2.367 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1858, allocations: 0 / 0.5661 GB, free: 2.367 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.1859, allocations: 48.02 kB / 0.5661 GB, free: 2.32 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.1861, allocations: 8.812 kB / 0.5661 GB, free: 2.312 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001913/0.1881, allocations: 1.358 MB / 0.5675 GB, free: 0.875 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.1883, allocations: 0.6787 MB / 0.5681 GB, free: 176 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002249/0.1885, allocations: 32.33 kB / 0.5682 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.468e-05/0.1886, allocations: 23.91 kB / 0.5682 GB, free: 120 kB / 430.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1886, allocations: 0 / 0.5682 GB, free: 120 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.2013, allocations: 2.239 MB / 0.5704 GB, free: 14.1 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/0.2016, allocations: 254.5 kB / 0.5706 GB, free: 13.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.109, allocations: 4 kB / 0.5706 GB, free: 13.84 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)