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.001123/0.001123, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001143/0.001143, allocations: 189.3 kB / 16.13 MB, free: 6.656 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.185/1.185, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9013/0.9013, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 64.34 kB / 0.5048 GB, free: 5.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1575, allocations: 80.92 MB / 0.5838 GB, free: 4.887 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002187/0.1598, allocations: 1.346 MB / 0.5851 GB, free: 3.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009956/0.1608, allocations: 0.6529 MB / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.345e-05/0.1608, allocations: 0 / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.1608, allocations: 3.984 kB / 0.5858 GB, free: 2.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.774e-05/0.1609, allocations: 7.938 kB / 0.5858 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.1613, allocations: 91.69 kB / 0.5859 GB, free: 2.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.882e-05/0.1613, allocations: 23.86 kB / 0.5859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.1614, allocations: 0 / 0.5859 GB, free: 2.746 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.27e-05/0.1614, allocations: 15.94 kB / 0.5859 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.1614, allocations: 7.984 kB / 0.5859 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1615, allocations: 3.984 kB / 0.5859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.1617, allocations: 151.8 kB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.1618, allocations: 7.938 kB / 0.5861 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.1618, allocations: 15.91 kB / 0.5861 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.162, allocations: 96.05 kB / 0.5862 GB, free: 2.453 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.162, allocations: 0 / 0.5862 GB, free: 2.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.162, allocations: 4 kB / 0.5862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.162, allocations: 0 / 0.5862 GB, free: 2.449 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.0004627/0.1625, allocations: 351.4 kB / 0.5865 GB, free: 2.055 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.1625, allocations: 12.03 kB / 0.5865 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.59e-05/0.1626, allocations: 38.69 kB / 0.5866 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004395/0.163, allocations: 28.89 kB / 0.5866 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.1631, allocations: 164.4 kB / 0.5868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1632, allocations: 384 / 0.5868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.1632, allocations: 8.312 kB / 0.5868 GB, free: 1.762 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.1634, allocations: 58.22 kB / 0.5868 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1634, allocations: 3.938 kB / 0.5868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1634, allocations: 0 / 0.5868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1634, allocations: 0 / 0.5868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.1636, allocations: 31.97 kB / 0.5869 GB, free: 1.664 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.1638, allocations: 161.7 kB / 0.587 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.1641, allocations: 74.47 kB / 0.5871 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.286e-05/0.1642, allocations: 24.94 kB / 0.5871 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1642, allocations: 4 kB / 0.5871 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1642, allocations: 30.56 kB / 0.5871 GB, free: 1.305 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1642, allocations: 3.938 kB / 0.5871 GB, free: 1.301 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.00367/0.1679, allocations: 0.5762 MB / 0.5877 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.168, allocations: 59.41 kB / 0.5878 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.504e-05/0.168, allocations: 97.84 kB / 0.5879 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.168, allocations: 29.7 kB / 0.5879 GB, free: 472 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.442e-05/0.1681, allocations: 80.14 kB / 0.588 GB, free: 388 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.1681, allocations: 15.72 kB / 0.588 GB, free: 372 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.206e-05/0.1682, allocations: 29.69 kB / 0.588 GB, free: 336 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.1683, allocations: 314.8 kB / 0.5883 GB, free: 12 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.1684, allocations: 35.97 kB / 0.5883 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.1686, allocations: 44.03 kB / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.1689, allocations: 76.81 kB / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1689, allocations: 0 / 0.5885 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003676/0.1693, allocations: 133.5 kB / 0.5886 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.1693, allocations: 4 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1693, allocations: 3.938 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1693, allocations: 4 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.1695, allocations: 19.97 kB / 0.5886 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1696, allocations: 7.922 kB / 0.5886 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.1697, allocations: 8 kB / 0.5886 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.1698, allocations: 11.98 kB / 0.5886 GB, free: 15.66 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 7.973e-05/0.1698, allocations: 109.8 kB / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.1699, allocations: 3.938 kB / 0.5887 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.1699, allocations: 11.97 kB / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.17, allocations: 4.062 kB / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.17, allocations: 4 kB / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.17, allocations: 0 / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1701, allocations: 183.7 kB / 0.5889 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1701, allocations: 0 / 0.5889 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.1704, allocations: 23.91 kB / 0.589 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.1704, allocations: 0 / 0.589 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.1704, allocations: 7.984 kB / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1704, allocations: 4 kB / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.1704, allocations: 0 / 0.589 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.171, allocations: 193.1 kB / 0.5892 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.171, allocations: 92.97 kB / 0.5892 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.1711, allocations: 0 / 0.5892 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.1713, allocations: 15.98 kB / 0.5893 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.1713, allocations: 0 / 0.5893 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.1713, allocations: 7.984 kB / 0.5893 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.409e-05/0.1714, allocations: 75.28 kB / 0.5893 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1714, allocations: 160 / 0.5893 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002824/0.1717, allocations: 39.94 kB / 0.5894 GB, free: 14.8 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.0008871/0.1726, allocations: 0.7529 MB / 0.5901 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003285/0.1729, allocations: 87.91 kB / 0.5902 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1729, allocations: 0 / 0.5902 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1731, allocations: 51.97 kB / 0.5903 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.1734, allocations: 8.594 kB / 0.5903 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.1753, allocations: 1.362 MB / 0.5916 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000196/0.1755, allocations: 0.6809 MB / 0.5923 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002926/0.1758, allocations: 24 kB / 0.5923 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.594e-05/0.1759, allocations: 23.41 kB / 0.5923 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1759, allocations: 4 kB / 0.5923 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.455/1.631, allocations: 2.296 MB / 0.5945 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002392/1.632, allocations: 250.6 kB / 0.5948 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/3.619, allocations: 4.453 kB / 0.5948 GB, free: 9.324 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)