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.001152/0.001152, 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.001414/0.001414, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.539/1.539, allocations: 205.1 MB / 222 MB, free: 4.742 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.649/1.649, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001385/0.001385, allocations: 68.83 kB / 0.671 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2186/0.22, allocations: 114.5 MB / 0.7828 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002581/0.2226, allocations: 1.358 MB / 0.7841 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2238, allocations: 0.6531 MB / 0.7848 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.442e-05/0.2238, allocations: 4 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.07e-05/0.2239, allocations: 4 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.2e-05/0.2239, allocations: 3.938 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.2243, allocations: 91.69 kB / 0.7849 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.451e-05/0.2244, allocations: 27.86 kB / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.91e-05/0.2244, allocations: 0 / 0.7849 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.632e-05/0.2244, allocations: 15.98 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.972e-05/0.2245, allocations: 11.92 kB / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.2245, allocations: 0 / 0.7849 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002966/0.2248, allocations: 147.7 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.2248, allocations: 7.984 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.2249, allocations: 15.92 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.2251, allocations: 100 kB / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2251, allocations: 0 / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2251, allocations: 0 / 0.7852 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.2251, allocations: 0 / 0.7852 GB, free: 11.41 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.0005255/0.2257, allocations: 355.4 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2257, allocations: 12.03 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.2258, allocations: 34.69 kB / 0.7856 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005261/0.2263, allocations: 28.89 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.2265, allocations: 164.4 kB / 0.7857 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2265, allocations: 384 / 0.7858 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.2265, allocations: 4.375 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.2267, allocations: 62.16 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2267, allocations: 3.938 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.2267, allocations: 7.984 kB / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2267, allocations: 0 / 0.7858 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.2269, allocations: 19.98 kB / 0.7858 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.2271, allocations: 165.7 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003096/0.2274, allocations: 74.5 kB / 0.7861 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.221e-05/0.2275, allocations: 28.94 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.2275, allocations: 0 / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.2275, allocations: 34.56 kB / 0.7861 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.2275, allocations: 4 kB / 0.7861 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.003532/0.2311, allocations: 0.572 MB / 0.7867 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.2311, allocations: 55.34 kB / 0.7867 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.939e-05/0.2312, allocations: 101.9 kB / 0.7868 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2312, allocations: 25.7 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.656e-05/0.2312, allocations: 80.14 kB / 0.7869 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.2313, allocations: 23.7 kB / 0.787 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-05/0.2313, allocations: 29.64 kB / 0.787 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2314, allocations: 314.8 kB / 0.7873 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.2316, allocations: 40.09 kB / 0.7873 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.2317, allocations: 35.97 kB / 0.7874 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.232, allocations: 80.81 kB / 0.7874 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.232, allocations: 0 / 0.7874 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003392/0.2323, allocations: 137.4 kB / 0.7876 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.2324, allocations: 4 kB / 0.7876 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2324, allocations: 0 / 0.7876 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.2324, allocations: 64 / 0.7876 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.2326, allocations: 27.97 kB / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2326, allocations: 0 / 0.7876 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.2328, allocations: 8 kB / 0.7876 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.2328, allocations: 11.92 kB / 0.7876 GB, free: 8.617 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.626e-05/0.2329, allocations: 109.8 kB / 0.7877 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.2329, allocations: 7.938 kB / 0.7877 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.545e-05/0.233, allocations: 11.97 kB / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.233, allocations: 0 / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.233, allocations: 0 / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.233, allocations: 3.984 kB / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.2332, allocations: 179.8 kB / 0.7879 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2332, allocations: 3.984 kB / 0.7879 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.2334, allocations: 27.91 kB / 0.788 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2334, allocations: 3.938 kB / 0.788 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.2335, allocations: 4 kB / 0.788 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2335, allocations: 4 kB / 0.788 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2335, allocations: 0 / 0.788 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.234, allocations: 189 kB / 0.7881 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.234, allocations: 84.95 kB / 0.7882 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.234, allocations: 4.031 kB / 0.7882 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.2342, allocations: 7.984 kB / 0.7882 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.2343, allocations: 8 kB / 0.7882 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.2343, allocations: 3.984 kB / 0.7883 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.2343, allocations: 79.28 kB / 0.7883 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2343, allocations: 8.094 kB / 0.7883 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002386/0.2346, allocations: 31.94 kB / 0.7884 GB, free: 7.754 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.0008369/0.2354, allocations: 0.757 MB / 0.7891 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.2358, allocations: 88.03 kB / 0.7892 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2358, allocations: 4.062 kB / 0.7892 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.2359, allocations: 51.89 kB / 0.7892 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.2362, allocations: 11.94 kB / 0.7893 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.2382, allocations: 1.35 MB / 0.7906 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.2384, allocations: 0.6848 MB / 0.7912 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002267/0.2387, allocations: 20 kB / 0.7913 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.872e-05/0.2387, allocations: 19.42 kB / 0.7913 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2387, allocations: 0 / 0.7913 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/0.2513, allocations: 2.317 MB / 0.7935 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.2515, allocations: 265.7 kB / 0.7938 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/1.923, allocations: 3.938 kB / 0.7938 GB, free: 2.215 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)