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.001518/0.001518, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001814/0.001814, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.166/2.166, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.521/1.521, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003528, allocations: 8.562 kB / 0.5069 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1677, allocations: 82.3 MB / 0.5873 GB, free: 3.082 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001353/0.1691, allocations: 0.9901 MB / 0.5883 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009551/0.17, allocations: 0.5777 MB / 0.5888 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.949e-05/0.1701, allocations: 0 / 0.5888 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.827e-05/0.1701, allocations: 7.922 kB / 0.5888 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.385e-05/0.1701, allocations: 3.984 kB / 0.5888 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003846/0.1705, allocations: 91.73 kB / 0.5889 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.643e-05/0.1706, allocations: 15.95 kB / 0.5889 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.1707, allocations: 4 kB / 0.5889 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.453e-05/0.1707, allocations: 8 kB / 0.589 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.741e-05/0.1708, allocations: 15.92 kB / 0.589 GB, free: 1.355 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1708, allocations: 4 kB / 0.589 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.1711, allocations: 155.7 kB / 0.5891 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.1711, allocations: 7.984 kB / 0.5891 GB, free: 1.191 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.1712, allocations: 29.7 kB / 0.5892 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.1713, allocations: 68.14 kB / 0.5892 GB, free: 1.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1713, allocations: 0 / 0.5892 GB, free: 1.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1713, allocations: 0 / 0.5892 GB, free: 1.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.1714, allocations: 0 / 0.5892 GB, free: 1.09 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.0004844/0.1718, allocations: 355.2 kB / 0.5896 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.1719, allocations: 8.031 kB / 0.5896 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.38e-05/0.1719, allocations: 34.56 kB / 0.5896 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004175/0.1724, allocations: 27.95 kB / 0.5896 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.1725, allocations: 167 kB / 0.5898 GB, free: 424 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.1725, allocations: 4 kB / 0.5898 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.1726, allocations: 4 kB / 0.5898 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.1727, allocations: 57.64 kB / 0.5899 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1728, allocations: 4 kB / 0.5899 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1728, allocations: 0 / 0.5899 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.1728, allocations: 0 / 0.5899 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.1729, allocations: 27.97 kB / 0.5899 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001949/0.1732, allocations: 173.7 kB / 0.59 GB, free: 96 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003048/0.1735, allocations: 66.47 kB / 0.5901 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.1735, allocations: 0 / 0.5901 GB, free: 20 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/0.1736, allocations: 42.5 kB / 0.5902 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.1736, allocations: 0 / 0.5902 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.003323/0.1769, allocations: 0.5721 MB / 0.5907 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.1769, allocations: 59.39 kB / 0.5908 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.737e-05/0.177, allocations: 93.86 kB / 0.5909 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.177, allocations: 25.7 kB / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.576e-05/0.1771, allocations: 84.14 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.1771, allocations: 15.72 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.1771, allocations: 0 / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1773, allocations: 330.7 kB / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.1774, allocations: 36.09 kB / 0.5913 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.1776, allocations: 35.97 kB / 0.5914 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.1777, allocations: 35.98 kB / 0.5914 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1777, allocations: 0 / 0.5914 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003982/0.1781, allocations: 117.6 kB / 0.5915 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1781, allocations: 11.98 kB / 0.5915 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.1782, allocations: 0 / 0.5915 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.1782, allocations: 0 / 0.5915 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.1784, allocations: 19.97 kB / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1784, allocations: 4 kB / 0.5915 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/0.1786, allocations: 8 kB / 0.5915 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.1786, allocations: 11.92 kB / 0.5916 GB, free: 14.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.134e-05/0.1787, allocations: 113.8 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.837e-05/0.1787, allocations: 3.906 kB / 0.5917 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.841e-05/0.1788, allocations: 11.97 kB / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1788, allocations: 4 kB / 0.5917 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.1788, allocations: 0 / 0.5917 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1788, allocations: 0 / 0.5917 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.179, allocations: 191.7 kB / 0.5919 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.179, allocations: 0 / 0.5919 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.1792, allocations: 19.97 kB / 0.5919 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1793, allocations: 4 kB / 0.5919 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.1793, allocations: 8.047 kB / 0.5919 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1793, allocations: 0 / 0.5919 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1793, allocations: 7.938 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005272/0.1798, allocations: 192.9 kB / 0.5921 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.1799, allocations: 85.44 kB / 0.5922 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.1799, allocations: 11.94 kB / 0.5922 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.1801, allocations: 11.98 kB / 0.5922 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.1801, allocations: 0 / 0.5922 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.1801, allocations: 7.984 kB / 0.5922 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.469e-05/0.1802, allocations: 75.28 kB / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1802, allocations: 0 / 0.5923 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002598/0.1805, allocations: 35.94 kB / 0.5923 GB, free: 13.55 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009521/0.1814, allocations: 0.7569 MB / 0.5931 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.1818, allocations: 84.16 kB / 0.5931 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1818, allocations: 0 / 0.5931 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1819, allocations: 48.03 kB / 0.5932 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.1821, allocations: 16.06 kB / 0.5932 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1834, allocations: 0.5082 MB / 0.5937 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.1837, allocations: 0.6809 MB / 0.5944 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002282/0.1839, allocations: 28.09 kB / 0.5944 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.712e-05/0.184, allocations: 23.41 kB / 0.5944 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of SimCode: time 4.3e-07/0.184, allocations: 3.938 kB / 0.5944 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/0.1961, allocations: 2.209 MB / 0.5966 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.1963, allocations: 234.8 kB / 0.5968 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/1.899, allocations: 0 / 0.5968 GB, free: 9.102 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/linux/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) Environment - environmentSimulation: