Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.007489/0.007489, allocations: 98.69 kB / 15.73 MB, free: 6.047 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.00201/0.00201, allocations: 184.4 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.029/1.029, allocations: 143.3 MB / 433.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 63.91 kB / 0.5953 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3331, allocations: 82.03 MB / 0.6754 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.002012/0.3352, allocations: 1.282 MB / 0.6767 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001133/0.3363, allocations: 0.6497 MB / 0.6773 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.3364, allocations: 0 / 0.6773 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.902e-05/0.3364, allocations: 5.469 kB / 0.6773 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.367e-05/0.3364, allocations: 4 kB / 0.6773 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.3369, allocations: 107.7 kB / 0.6774 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.945e-05/0.337, allocations: 27.45 kB / 0.6775 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.068e-05/0.337, allocations: 2.562 kB / 0.6775 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.004e-05/0.3371, allocations: 13.92 kB / 0.6775 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.411e-05/0.3372, allocations: 12.2 kB / 0.6775 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.3372, allocations: 1.188 kB / 0.6775 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.3375, allocations: 139 kB / 0.6776 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.938e-05/0.3375, allocations: 17.22 kB / 0.6776 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.3376, allocations: 8.469 kB / 0.6776 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.3378, allocations: 96.42 kB / 0.6777 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3378, allocations: 0 / 0.6777 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3378, allocations: 0 / 0.6777 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.3378, allocations: 1.188 kB / 0.6777 GB, free: 15.09 MB / 0.5137 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.00053/0.3384, allocations: 357.1 kB / 0.6781 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3384, allocations: 8.938 kB / 0.6781 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.3384, allocations: 40.03 kB / 0.6781 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004025/0.3388, allocations: 29.58 kB / 0.6781 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.339, allocations: 165.4 kB / 0.6783 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.339, allocations: 1.594 kB / 0.6783 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.339, allocations: 1.562 kB / 0.6783 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.3392, allocations: 53.78 kB / 0.6784 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3392, allocations: 9.094 kB / 0.6784 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3392, allocations: 4 kB / 0.6784 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3393, allocations: 1.062 kB / 0.6784 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.3394, allocations: 26.47 kB / 0.6784 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001876/0.3396, allocations: 164.5 kB / 0.6786 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003308/0.3399, allocations: 74.75 kB / 0.6786 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.828e-05/0.34, allocations: 24.16 kB / 0.6787 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.3401, allocations: 1.094 kB / 0.6787 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3401, allocations: 31.78 kB / 0.6787 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/0.3401, allocations: 3.938 kB / 0.6787 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.003315/0.3434, allocations: 0.5897 MB / 0.6793 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.3435, allocations: 52.53 kB / 0.6793 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.839e-05/0.3435, allocations: 97.77 kB / 0.6794 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.3436, allocations: 25.7 kB / 0.6794 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.3436, allocations: 88.14 kB / 0.6795 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.3437, allocations: 21.94 kB / 0.6795 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.98e-05/0.3437, allocations: 28.86 kB / 0.6796 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3439, allocations: 316 kB / 0.6799 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.344, allocations: 37.94 kB / 0.6799 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.3442, allocations: 43.17 kB / 0.6799 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/0.3445, allocations: 78.59 kB / 0.68 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.3445, allocations: 0 / 0.68 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000355/0.3448, allocations: 126.2 kB / 0.6801 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3449, allocations: 9.328 kB / 0.6801 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.3449, allocations: 0 / 0.6801 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.3449, allocations: 0 / 0.6801 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.3451, allocations: 27.03 kB / 0.6802 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3451, allocations: 0 / 0.6802 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.3453, allocations: 12.38 kB / 0.6802 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.3453, allocations: 6.422 kB / 0.6802 GB, free: 12.77 MB / 0.5137 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 8.556e-05/0.3454, allocations: 108 kB / 0.6803 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.491e-05/0.3454, allocations: 10.08 kB / 0.6803 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/0.3455, allocations: 13.06 kB / 0.6803 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3455, allocations: 1.062 kB / 0.6803 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3455, allocations: 1.156 kB / 0.6803 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3455, allocations: 0 / 0.6803 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.3457, allocations: 186.9 kB / 0.6805 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3457, allocations: 0 / 0.6805 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.3459, allocations: 26.16 kB / 0.6805 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3459, allocations: 1.062 kB / 0.6805 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.346, allocations: 5.172 kB / 0.6805 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.346, allocations: 4 kB / 0.6805 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.346, allocations: 1.156 kB / 0.6805 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005445/0.3465, allocations: 198.2 kB / 0.6807 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.3466, allocations: 81.92 kB / 0.6808 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.3466, allocations: 9.031 kB / 0.6808 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.3468, allocations: 10.67 kB / 0.6808 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.204e-05/0.3468, allocations: 2.406 kB / 0.6808 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.3468, allocations: 10.33 kB / 0.6808 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.524e-05/0.3469, allocations: 77.25 kB / 0.6809 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.3469, allocations: 0 / 0.6809 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002409/0.3471, allocations: 39.53 kB / 0.6809 GB, free: 12.04 MB / 0.5137 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.0009211/0.3481, allocations: 0.7564 MB / 0.6817 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003408/0.3484, allocations: 85.28 kB / 0.6818 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3484, allocations: 1.188 kB / 0.6818 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.3486, allocations: 55.11 kB / 0.6818 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.3488, allocations: 6.781 kB / 0.6818 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.3508, allocations: 1.35 MB / 0.6831 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.3511, allocations: 0.6803 MB / 0.6838 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.3512, allocations: 27.62 kB / 0.6838 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.3513, allocations: 15.92 kB / 0.6838 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.3513, allocations: 0 / 0.6838 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05551/0.4068, allocations: 2.525 MB / 0.6863 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.576/8.983, allocations: 7.719 kB / 0.6863 GB, free: 8 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_SaturationPressureDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)