Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009299/0.0009299, allocations: 176.6 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.4 MB / 0.578 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007155/0.0007155, allocations: 91.75 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003442, allocations: 9.938 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2197, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001479/0.2212, allocations: 1.019 MB / 0.9019 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.2223, allocations: 0.6483 MB / 0.9026 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.2224, allocations: 0 / 0.9026 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.267e-05/0.2224, allocations: 3.938 kB / 0.9026 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.181e-05/0.2225, allocations: 4 kB / 0.9026 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006103/0.2231, allocations: 87.62 kB / 0.9026 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.03e-05/0.2232, allocations: 27.86 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.507e-05/0.2232, allocations: 4 kB / 0.9027 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.488e-05/0.2232, allocations: 8 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.2233, allocations: 19.91 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.2233, allocations: 4 kB / 0.9027 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.2236, allocations: 147.7 kB / 0.9029 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.476e-05/0.2236, allocations: 3.984 kB / 0.9029 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.278e-05/0.2237, allocations: 37.69 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.2239, allocations: 99.98 kB / 0.903 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2239, allocations: 0 / 0.903 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of FrontEnd: time 8.12e-07/0.2239, allocations: 0 / 0.903 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2239, allocations: 0 / 0.903 GB, free: 61.28 MB / 0.6042 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.0004083/0.2243, allocations: 353.8 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.2244, allocations: 8.031 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.21e-05/0.2244, allocations: 38.69 kB / 0.9034 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.2249, allocations: 28.89 kB / 0.9034 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.19e-05/0.225, allocations: 160.4 kB / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.225, allocations: 8.375 kB / 0.9036 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.225, allocations: 8.281 kB / 0.9036 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.2253, allocations: 54.22 kB / 0.9036 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2253, allocations: 3.938 kB / 0.9036 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.2253, allocations: 3.938 kB / 0.9036 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2253, allocations: 0 / 0.9036 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.2255, allocations: 31.97 kB / 0.9037 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.2257, allocations: 165.6 kB / 0.9038 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003204/0.226, allocations: 66.52 kB / 0.9039 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/0.2261, allocations: 28.94 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.2261, allocations: 4 kB / 0.9039 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.131e-05/0.2261, allocations: 38.5 kB / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.2261, allocations: 0 / 0.9039 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.003292/0.2294, allocations: 0.572 MB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.2295, allocations: 55.41 kB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.034e-05/0.2295, allocations: 97.84 kB / 0.9046 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.2296, allocations: 29.7 kB / 0.9047 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.778e-05/0.2296, allocations: 80.14 kB / 0.9048 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.419e-05/0.2296, allocations: 23.66 kB / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.128e-05/0.2296, allocations: 0 / 0.9048 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.2297, allocations: 327 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.2298, allocations: 31.97 kB / 0.9051 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.2299, allocations: 35.97 kB / 0.9052 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.2302, allocations: 88.81 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2302, allocations: 3.938 kB / 0.9052 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000306/0.2305, allocations: 121.5 kB / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2305, allocations: 4 kB / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2306, allocations: 0 / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2306, allocations: 0 / 0.9054 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.2308, allocations: 32.03 kB / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2308, allocations: 0 / 0.9054 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.231, allocations: 11.98 kB / 0.9054 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.231, allocations: 7.938 kB / 0.9054 GB, free: 58.52 MB / 0.6042 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 6.606e-05/0.2311, allocations: 105.8 kB / 0.9055 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.2311, allocations: 11.94 kB / 0.9055 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.371e-05/0.2311, allocations: 15.89 kB / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2312, allocations: 0 / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.2312, allocations: 0 / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2312, allocations: 0 / 0.9055 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.2313, allocations: 187.5 kB / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2313, allocations: 3.938 kB / 0.9057 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.2315, allocations: 31.91 kB / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2315, allocations: 0 / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.2316, allocations: 0 / 0.9058 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2316, allocations: 7.984 kB / 0.9058 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2316, allocations: 0 / 0.9058 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006266/0.2322, allocations: 188.9 kB / 0.9059 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.2323, allocations: 81.05 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.2323, allocations: 4 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.2325, allocations: 12.02 kB / 0.906 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.2325, allocations: 7.938 kB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.2325, allocations: 8.047 kB / 0.906 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.071e-05/0.2325, allocations: 79.28 kB / 0.9061 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2326, allocations: 0 / 0.9061 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002266/0.2328, allocations: 35.98 kB / 0.9062 GB, free: 57.65 MB / 0.6042 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.0007763/0.2336, allocations: 0.7595 MB / 0.9069 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003034/0.2339, allocations: 96.03 kB / 0.907 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2339, allocations: 0 / 0.907 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.234, allocations: 51.95 kB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.2343, allocations: 6.031 kB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.2359, allocations: 1.361 MB / 0.9084 GB, free: 55.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.2361, allocations: 0.6809 MB / 0.909 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002221/0.2363, allocations: 28.36 kB / 0.9091 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.2364, allocations: 23.41 kB / 0.9091 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.2364, allocations: 0 / 0.9091 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01273/0.2491, allocations: 2.258 MB / 0.9113 GB, free: 52.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/0.2493, allocations: 272 kB / 0.9116 GB, free: 52.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.6/1.85, allocations: 0 / 0.9116 GB, free: 52.13 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 Buildings_maint_7_0_x_Buildings_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)