Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_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.0009494/0.0009522, allocations: 103.4 kB / 15.34 MB, free: 0.5039 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.001023/0.001022, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9096/0.9096, allocations: 135.1 MB / 425.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 63.78 kB / 0.505 GB, free: 5.582 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1573, allocations: 80.93 MB / 0.584 GB, free: 4.82 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002506/0.1598, allocations: 1.338 MB / 0.5853 GB, free: 3.465 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009903/0.1609, allocations: 0.6334 MB / 0.5859 GB, free: 2.828 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.685e-05/0.1609, allocations: 3.938 kB / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.809e-05/0.1609, allocations: 0 / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.909e-05/0.161, allocations: 11.92 kB / 0.586 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.1615, allocations: 91.69 kB / 0.586 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.514e-05/0.1615, allocations: 27.88 kB / 0.5861 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.1616, allocations: 7.984 kB / 0.5861 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.713e-05/0.1616, allocations: 15.92 kB / 0.5861 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.417e-05/0.1617, allocations: 11.98 kB / 0.5861 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1617, allocations: 0 / 0.5861 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.162, allocations: 143.7 kB / 0.5862 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.445e-05/0.162, allocations: 7.984 kB / 0.5862 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.287e-05/0.162, allocations: 15.92 kB / 0.5863 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.1622, allocations: 100 kB / 0.5864 GB, free: 2.398 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1623, allocations: 0 / 0.5864 GB, free: 2.398 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1623, allocations: 0 / 0.5864 GB, free: 2.398 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1623, allocations: 0 / 0.5864 GB, free: 2.398 MB / 494.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.0004501/0.1627, allocations: 359.4 kB / 0.5867 GB, free: 1.996 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.1628, allocations: 8.031 kB / 0.5867 GB, free: 1.988 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.431e-05/0.1628, allocations: 34.69 kB / 0.5867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004202/0.1632, allocations: 24.91 kB / 0.5868 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1634, allocations: 168.4 kB / 0.5869 GB, free: 1.719 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1634, allocations: 12.38 kB / 0.5869 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1634, allocations: 384 / 0.5869 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.1636, allocations: 54.22 kB / 0.587 GB, free: 1.648 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1636, allocations: 3.938 kB / 0.587 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1636, allocations: 4 kB / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1636, allocations: 0 / 0.587 GB, free: 1.641 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.1638, allocations: 23.97 kB / 0.587 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.1639, allocations: 173.7 kB / 0.5872 GB, free: 1.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.1643, allocations: 66.52 kB / 0.5872 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.938e-05/0.1643, allocations: 28.94 kB / 0.5873 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.1644, allocations: 7.984 kB / 0.5873 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.1644, allocations: 34.55 kB / 0.5873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.1644, allocations: 7.938 kB / 0.5873 GB, free: 1.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003559/0.168, allocations: 0.5681 MB / 0.5879 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.168, allocations: 55.34 kB / 0.5879 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.678e-05/0.1681, allocations: 101.8 kB / 0.588 GB, free: 448 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.1681, allocations: 25.7 kB / 0.5881 GB, free: 416 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.664e-05/0.1681, allocations: 80.14 kB / 0.5881 GB, free: 332 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.1682, allocations: 19.72 kB / 0.5881 GB, free: 312 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.1682, allocations: 29.69 kB / 0.5882 GB, free: 276 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.1683, allocations: 315 kB / 0.5885 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.1685, allocations: 39.95 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.1686, allocations: 39.95 kB / 0.5886 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.1689, allocations: 84.81 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1689, allocations: 0 / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003433/0.1693, allocations: 125.5 kB / 0.5888 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1693, allocations: 9.969 kB / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1693, allocations: 0 / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1693, allocations: 0 / 0.5888 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.1695, allocations: 27.97 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.1695, allocations: 0 / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.1697, allocations: 7.984 kB / 0.5888 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1697, allocations: 4 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB 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.199e-05/0.1698, allocations: 113.8 kB / 0.5889 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.1699, allocations: 7.938 kB / 0.5889 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.5e-05/0.1699, allocations: 11.97 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1699, allocations: 0 / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.1699, allocations: 0 / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1699, allocations: 0 / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.1701, allocations: 183.7 kB / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1701, allocations: 0 / 0.5891 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.1704, allocations: 31.91 kB / 0.5891 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1704, allocations: 0 / 0.5891 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.1704, allocations: 3.984 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.1704, allocations: 12 kB / 0.5891 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1704, allocations: 0 / 0.5891 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.1709, allocations: 193 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.171, allocations: 84.95 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.171, allocations: 11.95 kB / 0.5894 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.1712, allocations: 4 kB / 0.5894 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.1712, allocations: 11.98 kB / 0.5894 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1712, allocations: 4.062 kB / 0.5894 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.38e-05/0.1713, allocations: 79.28 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1713, allocations: 0 / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002325/0.1715, allocations: 35.92 kB / 0.5896 GB, free: 14.74 MB / 0.4981 GB 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.0008318/0.1724, allocations: 0.7491 MB / 0.5903 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003202/0.1727, allocations: 91.94 kB / 0.5904 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1727, allocations: 0 / 0.5904 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.1729, allocations: 47.95 kB / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.1731, allocations: 7.984 kB / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.1749, allocations: 1.356 MB / 0.5918 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.1752, allocations: 0.6807 MB / 0.5924 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002216/0.1754, allocations: 32.48 kB / 0.5924 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.1755, allocations: 23.41 kB / 0.5925 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1755, allocations: 0 / 0.5925 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.364/1.539, allocations: 2.364 MB / 0.5948 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002419/1.54, allocations: 260.8 kB / 0.595 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/3.87, allocations: 0 / 0.595 GB, free: 9.227 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)