Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="IDEAS_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.001036/0.001036, 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.0009213/0.0009213, allocations: 194.2 kB / 16.13 MB, free: 6.668 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.148/1.148, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6525/0.6525, allocations: 132.2 MB / 422.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001031/0.001031, allocations: 64.06 kB / 0.5012 GB, free: 9.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1237, allocations: 80.2 MB / 0.5795 GB, free: 9.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002248/0.126, allocations: 1.341 MB / 0.5808 GB, free: 7.816 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1271, allocations: 0.6568 MB / 0.5815 GB, free: 7.156 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.525e-05/0.1271, allocations: 4 kB / 0.5815 GB, free: 7.152 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.793e-05/0.1271, allocations: 3.938 kB / 0.5815 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.862e-05/0.1272, allocations: 3.984 kB / 0.5815 GB, free: 7.145 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003893/0.1276, allocations: 91.64 kB / 0.5816 GB, free: 7.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.754e-05/0.1276, allocations: 27.86 kB / 0.5816 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.991e-05/0.1277, allocations: 3.984 kB / 0.5816 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.46e-05/0.1277, allocations: 11.98 kB / 0.5816 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.665e-05/0.1278, allocations: 15.92 kB / 0.5816 GB, free: 6.996 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1278, allocations: 4 kB / 0.5816 GB, free: 6.992 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.128, allocations: 147.8 kB / 0.5818 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.1281, allocations: 0 / 0.5818 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1281, allocations: 7.938 kB / 0.5818 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.1283, allocations: 108 kB / 0.5819 GB, free: 6.734 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.1283, allocations: 0 / 0.5819 GB, free: 6.734 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1283, allocations: 0 / 0.5819 GB, free: 6.734 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1283, allocations: 0 / 0.5819 GB, free: 6.734 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.0003949/0.1287, allocations: 359.4 kB / 0.5822 GB, free: 6.332 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.1288, allocations: 12.03 kB / 0.5822 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.11e-05/0.1288, allocations: 34.73 kB / 0.5823 GB, free: 6.277 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000379/0.1292, allocations: 28.91 kB / 0.5823 GB, free: 6.25 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.586e-05/0.1293, allocations: 160.4 kB / 0.5824 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.1293, allocations: 384 / 0.5825 GB, free: 6.055 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.1293, allocations: 4.375 kB / 0.5825 GB, free: 6.051 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.1295, allocations: 70.12 kB / 0.5825 GB, free: 5.977 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.1295, allocations: 3.938 kB / 0.5825 GB, free: 5.973 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1295, allocations: 4 kB / 0.5825 GB, free: 5.969 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.1295, allocations: 0 / 0.5825 GB, free: 5.969 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.1296, allocations: 23.97 kB / 0.5826 GB, free: 5.945 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.1298, allocations: 165.7 kB / 0.5827 GB, free: 5.734 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.1301, allocations: 70.52 kB / 0.5828 GB, free: 5.656 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.4e-05/0.1302, allocations: 24.94 kB / 0.5828 GB, free: 5.629 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.1302, allocations: 0 / 0.5828 GB, free: 5.629 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.1302, allocations: 42.56 kB / 0.5828 GB, free: 5.578 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1302, allocations: 0 / 0.5828 GB, free: 5.578 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.003271/0.1335, allocations: 0.572 MB / 0.5834 GB, free: 4.953 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.1335, allocations: 51.41 kB / 0.5834 GB, free: 4.891 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.691e-05/0.1336, allocations: 101.8 kB / 0.5835 GB, free: 4.781 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.1336, allocations: 29.7 kB / 0.5836 GB, free: 4.746 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.374e-05/0.1336, allocations: 80.14 kB / 0.5837 GB, free: 4.664 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.1337, allocations: 27.69 kB / 0.5837 GB, free: 4.637 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.119e-05/0.1337, allocations: 25.7 kB / 0.5837 GB, free: 4.605 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1338, allocations: 314.8 kB / 0.584 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.134, allocations: 36.09 kB / 0.584 GB, free: 4.254 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.1341, allocations: 43.91 kB / 0.5841 GB, free: 4.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.1344, allocations: 80.81 kB / 0.5842 GB, free: 4.129 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1344, allocations: 0 / 0.5842 GB, free: 4.129 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003226/0.1347, allocations: 125.6 kB / 0.5843 GB, free: 4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1347, allocations: 5.719 kB / 0.5843 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1347, allocations: 0 / 0.5843 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.1347, allocations: 0 / 0.5843 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.135, allocations: 23.97 kB / 0.5843 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.135, allocations: 0 / 0.5843 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.1351, allocations: 11.98 kB / 0.5843 GB, free: 3.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.1352, allocations: 7.938 kB / 0.5843 GB, free: 3.953 MB / 494.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.397e-05/0.1352, allocations: 110.5 kB / 0.5844 GB, free: 3.836 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1353, allocations: 11.84 kB / 0.5844 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.083e-05/0.1353, allocations: 15.95 kB / 0.5845 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1353, allocations: 0 / 0.5845 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.1354, allocations: 0 / 0.5845 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.1354, allocations: 4 kB / 0.5845 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.1355, allocations: 187.5 kB / 0.5846 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1355, allocations: 0 / 0.5846 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.1358, allocations: 27.91 kB / 0.5847 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1358, allocations: 0 / 0.5847 GB, free: 3.547 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.1358, allocations: 12 kB / 0.5847 GB, free: 3.535 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.1358, allocations: 3.984 kB / 0.5847 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1358, allocations: 240 / 0.5847 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.1363, allocations: 189.3 kB / 0.5849 GB, free: 3.328 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.1363, allocations: 84.95 kB / 0.5849 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/0.1364, allocations: 4.031 kB / 0.5849 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.1366, allocations: 19.84 kB / 0.585 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.1366, allocations: 4 kB / 0.585 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.1366, allocations: 7.984 kB / 0.585 GB, free: 3.191 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.886e-05/0.1366, allocations: 79.34 kB / 0.5851 GB, free: 3.113 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1366, allocations: 4.094 kB / 0.5851 GB, free: 3.109 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002118/0.1369, allocations: 31.94 kB / 0.5851 GB, free: 3.078 MB / 494.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.0007633/0.1376, allocations: 0.7529 MB / 0.5858 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002937/0.1379, allocations: 83.92 kB / 0.5859 GB, free: 2.211 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1379, allocations: 8.062 kB / 0.5859 GB, free: 2.203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.1381, allocations: 43.95 kB / 0.5859 GB, free: 2.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.1383, allocations: 11.94 kB / 0.586 GB, free: 2.148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.1403, allocations: 1.357 MB / 0.5873 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.1405, allocations: 0.6848 MB / 0.588 GB, free: 0 / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0002313/0.1408, allocations: 24.08 kB / 0.588 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.1408, allocations: 23.36 kB / 0.588 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1408, allocations: 0 / 0.588 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8854/1.026, allocations: 2.305 MB / 0.5903 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/1.027, allocations: 243.1 kB / 0.5905 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.802/2.829, allocations: 0 / 0.5905 GB, free: 13.61 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)