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: 251.5 MB / 266.7 MB, free: 11.04 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.0009707/0.000971, allocations: 170.8 kB / 325.8 MB, free: 2.688 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.649/1.649, allocations: 205 MB / 0.576 GB, free: 20.99 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.0007361/0.0007364, allocations: 95.91 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003278, allocations: 16.89 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2266, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001286/0.228, allocations: 1.021 MB / 0.8972 GB, free: 67.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009165/0.2289, allocations: 0.6576 MB / 0.8979 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.58e-05/0.2289, allocations: 4 kB / 0.8979 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.229, allocations: 0 / 0.8979 GB, free: 66.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.943e-05/0.229, allocations: 7.922 kB / 0.8979 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.2294, allocations: 87.7 kB / 0.898 GB, free: 66.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.129e-05/0.2294, allocations: 27.86 kB / 0.898 GB, free: 66.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.2295, allocations: 3.984 kB / 0.898 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.563e-05/0.2295, allocations: 19.92 kB / 0.898 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.922e-05/0.2296, allocations: 8 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.2296, allocations: 0 / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.2299, allocations: 151.7 kB / 0.8982 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.311e-05/0.2299, allocations: 7.938 kB / 0.8982 GB, free: 66.06 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.2299, allocations: 8 kB / 0.8982 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.2301, allocations: 103.8 kB / 0.8983 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.824e-05/0.2302, allocations: 0 / 0.8983 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.354e-06/0.2302, allocations: 0 / 0.8983 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2302, allocations: 0 / 0.8983 GB, free: 65.95 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.0004099/0.2306, allocations: 347.5 kB / 0.8986 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.2306, allocations: 12.03 kB / 0.8986 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.2307, allocations: 38.69 kB / 0.8987 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004097/0.2311, allocations: 28.89 kB / 0.8987 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.007e-05/0.2312, allocations: 160.4 kB / 0.8988 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.2312, allocations: 4.375 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.2312, allocations: 8.281 kB / 0.8988 GB, free: 65.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.2314, allocations: 58.22 kB / 0.8989 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2314, allocations: 3.938 kB / 0.8989 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2314, allocations: 3.938 kB / 0.8989 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.872e-06/0.2315, allocations: 3.984 kB / 0.8989 GB, free: 65.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.2316, allocations: 27.97 kB / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.2318, allocations: 177.5 kB / 0.8991 GB, free: 64.94 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/0.2321, allocations: 66.47 kB / 0.8992 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.997e-05/0.2321, allocations: 24.94 kB / 0.8992 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.2322, allocations: 0 / 0.8992 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.2322, allocations: 38.56 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2322, allocations: 0 / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.003148/0.2354, allocations: 0.5721 MB / 0.8998 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.2354, allocations: 55.34 kB / 0.8998 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.071e-05/0.2354, allocations: 93.86 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.2355, allocations: 29.7 kB / 0.9 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.85e-05/0.2355, allocations: 80.14 kB / 0.9 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.2355, allocations: 27.62 kB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.2356, allocations: 13.72 kB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.973e-05/0.2356, allocations: 314.8 kB / 0.9004 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.2358, allocations: 44.03 kB / 0.9004 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.2359, allocations: 35.97 kB / 0.9005 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.2361, allocations: 80.81 kB / 0.9005 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.2361, allocations: 0 / 0.9005 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002878/0.2364, allocations: 121.6 kB / 0.9006 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.2364, allocations: 11.94 kB / 0.9007 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2364, allocations: 0 / 0.9007 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.2365, allocations: 0 / 0.9007 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.2367, allocations: 27.97 kB / 0.9007 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.2367, allocations: 0 / 0.9007 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.2368, allocations: 7.984 kB / 0.9007 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.2368, allocations: 3.984 kB / 0.9007 GB, free: 63.18 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 7.791e-05/0.2369, allocations: 113.8 kB / 0.9008 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.237, allocations: 3.938 kB / 0.9008 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.722e-05/0.237, allocations: 15.97 kB / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.237, allocations: 0 / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.237, allocations: 0 / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2371, allocations: 0 / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001141/0.2372, allocations: 195.4 kB / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2372, allocations: 0 / 0.901 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.2374, allocations: 31.97 kB / 0.901 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2374, allocations: 4 kB / 0.901 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.2374, allocations: 3.984 kB / 0.901 GB, free: 62.76 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.2374, allocations: 3.938 kB / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2374, allocations: 240 / 0.9011 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004764/0.2379, allocations: 192.9 kB / 0.9012 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.564e-05/0.238, allocations: 85.03 kB / 0.9013 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.238, allocations: 0 / 0.9013 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.2382, allocations: 12.03 kB / 0.9013 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.729e-05/0.2382, allocations: 4.312 kB / 0.9013 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.2382, allocations: 4 kB / 0.9013 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.987e-05/0.2383, allocations: 87.33 kB / 0.9014 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2383, allocations: 0 / 0.9014 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002363/0.2385, allocations: 24 kB / 0.9014 GB, free: 62.32 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.0007753/0.2393, allocations: 0.7607 MB / 0.9022 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003105/0.2396, allocations: 88 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2396, allocations: 3.938 kB / 0.9023 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.2398, allocations: 47.89 kB / 0.9023 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.24, allocations: 12.97 kB / 0.9023 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.2418, allocations: 1.358 MB / 0.9037 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.242, allocations: 0.677 MB / 0.9043 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002567/0.2423, allocations: 35.95 kB / 0.9044 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.715e-05/0.2424, allocations: 23.41 kB / 0.9044 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2424, allocations: 0 / 0.9044 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2004/0.4428, allocations: 2.259 MB / 0.9066 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.4431, allocations: 272.2 kB / 0.9068 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.253, allocations: 0 / 0.9068 GB, free: 56.79 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)