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.0008126/0.0008127, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009385/0.0009384, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 240 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7593/0.7593, allocations: 132.3 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003292, allocations: 9.312 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.4302, allocations: 81.58 MB / 0.5832 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001195/0.4315, allocations: 1.002 MB / 0.5842 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.4323, allocations: 0.6088 MB / 0.5847 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.4324, allocations: 0 / 0.5847 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.544e-05/0.4324, allocations: 0.6562 kB / 0.5847 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.885e-05/0.4324, allocations: 5.688 kB / 0.5848 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.4328, allocations: 93.11 kB / 0.5848 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.583e-05/0.4329, allocations: 20.88 kB / 0.5849 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.4329, allocations: 2.141 kB / 0.5849 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.737e-05/0.4329, allocations: 16 kB / 0.5849 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.433, allocations: 15.39 kB / 0.5849 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.433, allocations: 1.406 kB / 0.5849 GB, free: 2.766 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002912/0.4333, allocations: 144.9 kB / 0.585 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.4333, allocations: 7.25 kB / 0.585 GB, free: 2.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.066e-05/0.4334, allocations: 27.23 kB / 0.5851 GB, free: 2.695 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.4335, allocations: 68.77 kB / 0.5851 GB, free: 2.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4335, allocations: 1.906 kB / 0.5851 GB, free: 2.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4335, allocations: 4 kB / 0.5851 GB, free: 2.676 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.764e-06/0.4336, allocations: 0 / 0.5851 GB, free: 2.676 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.0003818/0.4339, allocations: 352 kB / 0.5855 GB, free: 2.309 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.434, allocations: 8.5 kB / 0.5855 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.434, allocations: 36.28 kB / 0.5855 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003752/0.4344, allocations: 34.41 kB / 0.5855 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.053e-05/0.4345, allocations: 166.1 kB / 0.5857 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.4345, allocations: 1.312 kB / 0.5857 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.4346, allocations: 1.75 kB / 0.5857 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.4347, allocations: 57.39 kB / 0.5858 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.4347, allocations: 3.984 kB / 0.5858 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4348, allocations: 5.25 kB / 0.5858 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4348, allocations: 0 / 0.5858 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.4349, allocations: 34.91 kB / 0.5858 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.4351, allocations: 161.3 kB / 0.586 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.4354, allocations: 67.59 kB / 0.586 GB, free: 1.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.738e-05/0.4354, allocations: 32.39 kB / 0.5861 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.4355, allocations: 1.734 kB / 0.5861 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.4355, allocations: 35.91 kB / 0.5861 GB, free: 1.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4355, allocations: 0 / 0.5861 GB, free: 1.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.003105/0.4386, allocations: 0.5641 MB / 0.5866 GB, free: 1.379 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.4386, allocations: 60.75 kB / 0.5867 GB, free: 1.309 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.87e-05/0.4387, allocations: 93.67 kB / 0.5868 GB, free: 1.211 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.4387, allocations: 30.48 kB / 0.5868 GB, free: 1.176 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.981e-05/0.4387, allocations: 80.95 kB / 0.5869 GB, free: 1.094 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/0.4388, allocations: 28.59 kB / 0.5869 GB, free: 1.07 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.4388, allocations: 4 kB / 0.5869 GB, free: 1.066 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.4389, allocations: 314.2 kB / 0.5872 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.439, allocations: 38.03 kB / 0.5873 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.4391, allocations: 34.52 kB / 0.5873 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.4393, allocations: 40.66 kB / 0.5873 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4393, allocations: 0.7969 kB / 0.5873 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003243/0.4396, allocations: 117.1 kB / 0.5874 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.4397, allocations: 4.562 kB / 0.5875 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4397, allocations: 2.219 kB / 0.5875 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4397, allocations: 0 / 0.5875 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002061/0.4399, allocations: 30.06 kB / 0.5875 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4399, allocations: 4.562 kB / 0.5875 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.44, allocations: 6.281 kB / 0.5875 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.4401, allocations: 5.812 kB / 0.5875 GB, free: 0.6523 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.97e-05/0.4401, allocations: 113.1 kB / 0.5876 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.4402, allocations: 10.91 kB / 0.5876 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.4402, allocations: 17.3 kB / 0.5876 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4402, allocations: 1.328 kB / 0.5876 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4402, allocations: 0.6875 kB / 0.5876 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4403, allocations: 6 kB / 0.5876 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.4404, allocations: 185.3 kB / 0.5878 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.4404, allocations: 0.7031 kB / 0.5878 GB, free: 304 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.4406, allocations: 26.02 kB / 0.5878 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.4406, allocations: 0.875 kB / 0.5878 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.4407, allocations: 7.781 kB / 0.5879 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4407, allocations: 5.859 kB / 0.5879 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4407, allocations: 0 / 0.5879 GB, free: 292 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.4412, allocations: 195.8 kB / 0.588 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.111e-05/0.4412, allocations: 83.47 kB / 0.5881 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.4412, allocations: 0.6094 kB / 0.5881 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.4414, allocations: 10.2 kB / 0.5881 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.4414, allocations: 4.078 kB / 0.5881 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.4414, allocations: 11.97 kB / 0.5881 GB, free: 68 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.688e-05/0.4415, allocations: 78.31 kB / 0.5882 GB, free: 15.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4415, allocations: 0 / 0.5882 GB, free: 15.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000262/0.4418, allocations: 32.84 kB / 0.5883 GB, free: 15.98 MB / 446.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 (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.0008889/0.4427, allocations: 0.7452 MB / 0.589 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003227/0.443, allocations: 88.14 kB / 0.5891 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.443, allocations: 0.8438 kB / 0.5891 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.4432, allocations: 46.28 kB / 0.5891 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.4434, allocations: 13.23 kB / 0.5891 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.4448, allocations: 0.5218 MB / 0.5896 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.4451, allocations: 0.6872 MB / 0.5903 GB, free: 14.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002401/0.4453, allocations: 30.08 kB / 0.5903 GB, free: 14.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.167e-05/0.4454, allocations: 16.52 kB / 0.5903 GB, free: 14.18 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4454, allocations: 0 / 0.5903 GB, free: 14.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0136/0.459, allocations: 2.221 MB / 0.5925 GB, free: 14.04 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.4592, allocations: 232.7 kB / 0.5927 GB, free: 13.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.254, allocations: 2.531 kB / 0.5927 GB, free: 13.79 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: