Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_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.001309/0.001309, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001102/0.001102, allocations: 190.3 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.584/1.584, allocations: 292.3 MB / 0.5486 GB, free: 13.6 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.42 kB / 0.6711 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2051, allocations: 114.6 MB / 0.783 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002387/0.2075, allocations: 1.355 MB / 0.7843 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009481/0.2085, allocations: 0.6453 MB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.643e-05/0.2085, allocations: 0 / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.2085, allocations: 0 / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.707e-05/0.2086, allocations: 4 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.209, allocations: 99.61 kB / 0.785 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.654e-05/0.2091, allocations: 27.88 kB / 0.7851 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.486e-05/0.2091, allocations: 3.984 kB / 0.7851 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.047e-05/0.2091, allocations: 7.938 kB / 0.7851 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.2092, allocations: 19.92 kB / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.2092, allocations: 0 / 0.7851 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.2095, allocations: 147.8 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.2095, allocations: 4 kB / 0.7852 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.2095, allocations: 7.938 kB / 0.7852 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.2097, allocations: 104 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2097, allocations: 0 / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2098, allocations: 0 / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.888e-06/0.2098, allocations: 4 kB / 0.7854 GB, free: 11.31 MB / 0.6075 GB 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.0004414/0.2102, allocations: 359.4 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2103, allocations: 8.031 kB / 0.7857 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.939e-05/0.2103, allocations: 34.75 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000418/0.2107, allocations: 24.91 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.2108, allocations: 172.4 kB / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.2108, allocations: 384 / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.2109, allocations: 384 / 0.7859 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001607/0.211, allocations: 62.16 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.2111, allocations: 3.938 kB / 0.786 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.2111, allocations: 7.984 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.2111, allocations: 0 / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.2112, allocations: 27.97 kB / 0.786 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.2114, allocations: 165.7 kB / 0.7862 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.2117, allocations: 66.52 kB / 0.7862 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.457e-05/0.2118, allocations: 28.94 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.2118, allocations: 0 / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.2118, allocations: 42.55 kB / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.2118, allocations: 0 / 0.7863 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.003555/0.2154, allocations: 0.572 MB / 0.7869 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.114e-05/0.2155, allocations: 51.41 kB / 0.7869 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.087e-05/0.2155, allocations: 97.8 kB / 0.787 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.2156, allocations: 29.7 kB / 0.787 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.2156, allocations: 84.12 kB / 0.7871 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.655e-05/0.2157, allocations: 19.66 kB / 0.7871 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-05/0.2157, allocations: 29.69 kB / 0.7872 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2158, allocations: 319 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.216, allocations: 31.97 kB / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.2161, allocations: 43.91 kB / 0.7875 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.2164, allocations: 84.81 kB / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.2164, allocations: 0 / 0.7876 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003386/0.2167, allocations: 129.5 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2168, allocations: 4 kB / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.2168, allocations: 0 / 0.7878 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.2168, allocations: 4 kB / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.217, allocations: 23.97 kB / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.217, allocations: 0 / 0.7878 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.2172, allocations: 15.98 kB / 0.7878 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.2172, allocations: 4 kB / 0.7878 GB, free: 8.523 MB / 0.6075 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.978e-05/0.2173, allocations: 113.8 kB / 0.7879 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.62e-05/0.2173, allocations: 7.938 kB / 0.7879 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.988e-05/0.2174, allocations: 11.97 kB / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2174, allocations: 0 / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.2174, allocations: 0 / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.2174, allocations: 0 / 0.7879 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/0.2176, allocations: 179.7 kB / 0.7881 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2176, allocations: 4 kB / 0.7881 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.2179, allocations: 27.91 kB / 0.7881 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.2179, allocations: 0 / 0.7881 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.2179, allocations: 7.984 kB / 0.7881 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2179, allocations: 4 kB / 0.7881 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2179, allocations: 0 / 0.7881 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005224/0.2185, allocations: 189 kB / 0.7883 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.991e-05/0.2186, allocations: 84.95 kB / 0.7884 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.2186, allocations: 4.031 kB / 0.7884 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001957/0.2188, allocations: 8.312 kB / 0.7884 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.2188, allocations: 12.05 kB / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.2189, allocations: 0 / 0.7884 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.2189, allocations: 83.22 kB / 0.7885 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2189, allocations: 3.938 kB / 0.7885 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002521/0.2192, allocations: 39.92 kB / 0.7885 GB, free: 7.652 MB / 0.6075 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.0009072/0.2201, allocations: 0.7452 MB / 0.7893 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.2204, allocations: 95.97 kB / 0.7894 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2204, allocations: 0 / 0.7894 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.2206, allocations: 47.89 kB / 0.7894 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.2208, allocations: 15.69 kB / 0.7894 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.2228, allocations: 1.36 MB / 0.7908 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.2231, allocations: 0.6846 MB / 0.7914 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002335/0.2233, allocations: 31.97 kB / 0.7915 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.2234, allocations: 19.41 kB / 0.7915 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2234, allocations: 0 / 0.7915 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/0.2375, allocations: 2.365 MB / 0.7938 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.2378, allocations: 265.2 kB / 0.794 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.034, allocations: 8.766 kB / 0.794 GB, free: 2.07 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_8_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)