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.001044/0.001044, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.324/1.324, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.611/1.611, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.00138/0.00138, allocations: 71.69 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2194, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002916/0.2224, allocations: 1.293 MB / 0.7848 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.2235, allocations: 0.6403 MB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.2236, allocations: 0 / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.2236, allocations: 7.938 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.543e-05/0.2237, allocations: 7.969 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.2243, allocations: 111.5 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.929e-05/0.2244, allocations: 23.92 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.2244, allocations: 3.984 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.934e-05/0.2245, allocations: 8 kB / 0.7855 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.2245, allocations: 19.92 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.2246, allocations: 0 / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002812/0.2249, allocations: 143.7 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.386e-05/0.2249, allocations: 4 kB / 0.7857 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.2249, allocations: 7.938 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.2251, allocations: 104 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2251, allocations: 0 / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.266e-06/0.2252, allocations: 4 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.2252, allocations: 0 / 0.7858 GB, free: 10.97 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.0004763/0.2256, allocations: 355.4 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2257, allocations: 8.031 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.603e-05/0.2257, allocations: 42.73 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004313/0.2262, allocations: 24.91 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.2263, allocations: 164.3 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.2263, allocations: 384 / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.2263, allocations: 4.375 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.2265, allocations: 66.2 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2265, allocations: 3.938 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2265, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.2266, allocations: 0 / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.2267, allocations: 27.97 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/0.2269, allocations: 157.7 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003232/0.2272, allocations: 70.52 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.34e-05/0.2273, allocations: 28.92 kB / 0.7867 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.2274, allocations: 4 kB / 0.7867 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.2274, allocations: 38.56 kB / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2274, allocations: 0 / 0.7868 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.003417/0.2308, allocations: 0.5769 MB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.2309, allocations: 59.41 kB / 0.7874 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.515e-05/0.2309, allocations: 89.86 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.231, allocations: 33.7 kB / 0.7875 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.002e-05/0.231, allocations: 80.14 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.231, allocations: 15.7 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-05/0.2311, allocations: 25.7 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.2312, allocations: 322.8 kB / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.2314, allocations: 44.03 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.2315, allocations: 39.97 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.2318, allocations: 76.81 kB / 0.7881 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2318, allocations: 4 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003526/0.2322, allocations: 125.5 kB / 0.7882 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.2322, allocations: 4 kB / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2322, allocations: 0 / 0.7882 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.2322, allocations: 4 kB / 0.7882 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.2325, allocations: 23.91 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2325, allocations: 4 kB / 0.7882 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001478/0.2326, allocations: 4.062 kB / 0.7882 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.2327, allocations: 11.98 kB / 0.7882 GB, free: 8.191 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.994e-05/0.2327, allocations: 113.8 kB / 0.7884 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.2328, allocations: 3.938 kB / 0.7884 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.75e-05/0.2328, allocations: 11.97 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2329, allocations: 7.984 kB / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2329, allocations: 0 / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2329, allocations: 0 / 0.7884 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.233, allocations: 183.7 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.233, allocations: 0 / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.2333, allocations: 27.84 kB / 0.7886 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.2333, allocations: 4 kB / 0.7886 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.2333, allocations: 8 kB / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2333, allocations: 0 / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2333, allocations: 0 / 0.7886 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005355/0.2339, allocations: 193 kB / 0.7888 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.918e-05/0.2339, allocations: 88.98 kB / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.2339, allocations: 0 / 0.7889 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.2341, allocations: 11.98 kB / 0.7889 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.2341, allocations: 0 / 0.7889 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.2342, allocations: 7.984 kB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.055e-05/0.2342, allocations: 79.34 kB / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.473e-06/0.2342, allocations: 0 / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002452/0.2345, allocations: 39.88 kB / 0.789 GB, free: 7.32 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.0008622/0.2353, allocations: 0.7491 MB / 0.7897 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.2357, allocations: 87.98 kB / 0.7898 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.2357, allocations: 8 kB / 0.7898 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.2358, allocations: 47.89 kB / 0.7899 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.2361, allocations: 15.09 kB / 0.7899 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.238, allocations: 1.349 MB / 0.7912 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.2382, allocations: 0.6846 MB / 0.7919 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002173/0.2385, allocations: 31.97 kB / 0.7919 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.24e-05/0.2385, allocations: 15.42 kB / 0.7919 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2385, allocations: 0 / 0.7919 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.2576, allocations: 2.458 MB / 0.7943 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.278/7.536, allocations: 3.594 kB / 0.7943 GB, free: 1.91 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)