Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck",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.00115/0.00115, allocations: 103 kB / 15.06 MB, free: 1.098 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.001111/0.001111, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9903/0.9903, allocations: 143.3 MB / 434.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005178/0.0005179, allocations: 8 kB / 0.5159 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2103, allocations: 83.42 MB / 0.5974 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.001533/0.2119, allocations: 0.9706 MB / 0.5983 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004989/0.2125, allocations: 211.5 kB / 0.5985 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.08e-05/0.2125, allocations: 0 / 0.5985 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.006e-05/0.2125, allocations: 0 / 0.5985 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.2126, allocations: 4 kB / 0.5985 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.2129, allocations: 39.81 kB / 0.5986 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.213, allocations: 7.984 kB / 0.5986 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.213, allocations: 4 kB / 0.5986 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.597e-05/0.213, allocations: 8 kB / 0.5986 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.826e-05/0.2131, allocations: 11.92 kB / 0.5986 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.2131, allocations: 0 / 0.5986 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.2133, allocations: 47.95 kB / 0.5986 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.759e-06/0.2133, allocations: 4 kB / 0.5987 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.2133, allocations: 29.7 kB / 0.5987 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.2134, allocations: 28.23 kB / 0.5987 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2135, allocations: 0 / 0.5987 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2135, allocations: 0 / 0.5987 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.407e-06/0.2135, allocations: 4 kB / 0.5987 GB, free: 6.363 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004018/0.2139, allocations: 327.4 kB / 0.599 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.2139, allocations: 8.031 kB / 0.599 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.811e-05/0.214, allocations: 38.56 kB / 0.5991 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.2142, allocations: 19.94 kB / 0.5991 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.2143, allocations: 163 kB / 0.5992 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.2143, allocations: 4 kB / 0.5992 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.2143, allocations: 3.938 kB / 0.5992 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.2145, allocations: 45.69 kB / 0.5993 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2145, allocations: 0 / 0.5993 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.2145, allocations: 0 / 0.5993 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.2145, allocations: 11.92 kB / 0.5993 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.471e-05/0.2146, allocations: 19.94 kB / 0.5993 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001891/0.2148, allocations: 161.6 kB / 0.5995 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.963e-05/0.2149, allocations: 46.62 kB / 0.5995 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.2149, allocations: 3.938 kB / 0.5995 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.215, allocations: 30.56 kB / 0.5996 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.215, allocations: 0 / 0.5996 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.002116/0.2171, allocations: 0.4904 MB / 0.6 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.2171, allocations: 55.39 kB / 0.6001 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.321e-05/0.2172, allocations: 97.81 kB / 0.6002 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.2172, allocations: 29.7 kB / 0.6002 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.497e-05/0.2173, allocations: 80.14 kB / 0.6003 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.2173, allocations: 27.56 kB / 0.6003 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.951e-06/0.2174, allocations: 0 / 0.6003 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.2175, allocations: 318.8 kB / 0.6006 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-05/0.2176, allocations: 20 kB / 0.6006 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.2176, allocations: 23.98 kB / 0.6007 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.913e-05/0.2177, allocations: 27.94 kB / 0.6007 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2177, allocations: 0 / 0.6007 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001693/0.2179, allocations: 89.69 kB / 0.6008 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2179, allocations: 11.94 kB / 0.6008 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2179, allocations: 0 / 0.6008 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2179, allocations: 0 / 0.6008 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.2181, allocations: 15.98 kB / 0.6008 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2181, allocations: 288 / 0.6008 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.322e-05/0.2182, allocations: 0 / 0.6008 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.2182, allocations: 7.953 kB / 0.6008 GB, free: 3.949 MB / 0.4981 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.2183, allocations: 113.8 kB / 0.6009 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.546e-05/0.2183, allocations: 8 kB / 0.6009 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.148e-05/0.2184, allocations: 19.91 kB / 0.6009 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.2184, allocations: 0 / 0.6009 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.2184, allocations: 0 / 0.6009 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.2184, allocations: 7.984 kB / 0.6009 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.2186, allocations: 167.5 kB / 0.6011 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.2186, allocations: 448 / 0.6011 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.2187, allocations: 19.92 kB / 0.6011 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2187, allocations: 0 / 0.6011 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2188, allocations: 8 kB / 0.6011 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2188, allocations: 0 / 0.6011 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.2188, allocations: 8 kB / 0.6011 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.219, allocations: 149 kB / 0.6013 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.252e-05/0.2191, allocations: 77.11 kB / 0.6014 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.2191, allocations: 3.984 kB / 0.6014 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.2192, allocations: 4.031 kB / 0.6014 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.2192, allocations: 4 kB / 0.6014 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.2193, allocations: 4 kB / 0.6014 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.839e-05/0.2193, allocations: 83.3 kB / 0.6015 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2193, allocations: 0 / 0.6015 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001916/0.2195, allocations: 12 kB / 0.6015 GB, free: 3.176 MB / 0.4981 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005318/0.22, allocations: 0.6827 MB / 0.6021 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.2202, allocations: 64.22 kB / 0.6022 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2202, allocations: 0 / 0.6022 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.589e-05/0.2203, allocations: 39.95 kB / 0.6022 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.2205, allocations: 4 kB / 0.6022 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009138/0.2214, allocations: 486.6 kB / 0.6027 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.2217, allocations: 0.6809 MB / 0.6034 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.975e-05/0.2218, allocations: 12.19 kB / 0.6034 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.2218, allocations: 8.062 kB / 0.6034 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.2219, allocations: 0 / 0.6034 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3038/0.5257, allocations: 1.381 MB / 0.6047 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001573/0.5259, allocations: 245.9 kB / 0.605 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.222, allocations: 2.5 kB / 0.605 GB, free: 40.08 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-09 BuildSysPro_BuildSysPro_IBPSA_Utilities_Psychrometrics_Functions_BaseClasses_Examples_WaterVaporPressureDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: