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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 104.6 kB / 16.27 MB, free: 5.977 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.001319/0.001319, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.229/1.229, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.8067/0.8067, allocations: 143 MB / 434.1 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 63.91 kB / 0.5148 GB, free: 15.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3128, allocations: 82.03 MB / 0.595 GB, free: 16.18 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck): time 0.001998/0.3148, allocations: 1.286 MB / 0.5962 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007574/0.3156, allocations: 0.6377 MB / 0.5968 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.624e-05/0.3156, allocations: 0 / 0.5968 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.3156, allocations: 5.484 kB / 0.5968 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.07e-05/0.3157, allocations: 3.938 kB / 0.5968 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.316, allocations: 108.1 kB / 0.5969 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.876e-05/0.3161, allocations: 29.36 kB / 0.597 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.3161, allocations: 4 kB / 0.597 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.796e-05/0.3162, allocations: 8 kB / 0.597 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.101e-05/0.3162, allocations: 11.92 kB / 0.597 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.3162, allocations: 5.5 kB / 0.597 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.3164, allocations: 139.8 kB / 0.5971 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.199e-05/0.3165, allocations: 4 kB / 0.5971 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.3165, allocations: 19.91 kB / 0.5972 GB, free: 13.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.3167, allocations: 94.56 kB / 0.5972 GB, free: 13.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3167, allocations: 3.938 kB / 0.5973 GB, free: 13.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3167, allocations: 1.406 kB / 0.5973 GB, free: 13.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.319e-06/0.3167, allocations: 0 / 0.5973 GB, free: 13.84 MB / 446.1 MB 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.0003467/0.317, allocations: 352.8 kB / 0.5976 GB, free: 13.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.3171, allocations: 15.97 kB / 0.5976 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/0.3175, allocations: 29.72 kB / 0.5976 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.108e-05/0.3175, allocations: 165.8 kB / 0.5978 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.3175, allocations: 384 / 0.5978 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.3176, allocations: 8.375 kB / 0.5978 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.3177, allocations: 59.11 kB / 0.5979 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3177, allocations: 1.406 kB / 0.5979 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.3178, allocations: 3.938 kB / 0.5979 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3178, allocations: 0 / 0.5979 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.3179, allocations: 33.41 kB / 0.5979 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001221/0.318, allocations: 158.4 kB / 0.598 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/0.3183, allocations: 70.45 kB / 0.5981 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/0.3184, allocations: 32.92 kB / 0.5981 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.3184, allocations: 0 / 0.5981 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.213e-05/0.3184, allocations: 31.91 kB / 0.5982 GB, free: 12.74 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3184, allocations: 0 / 0.5982 GB, free: 12.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.003065/0.3215, allocations: 0.5759 MB / 0.5987 GB, free: 12.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.425e-05/0.3215, allocations: 52.25 kB / 0.5988 GB, free: 12.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.878e-05/0.3216, allocations: 99.02 kB / 0.5989 GB, free: 11.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.3216, allocations: 25.7 kB / 0.5989 GB, free: 11.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.149e-05/0.3216, allocations: 84.08 kB / 0.599 GB, free: 11.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.3217, allocations: 29.17 kB / 0.599 GB, free: 11.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.829e-05/0.3217, allocations: 21.7 kB / 0.599 GB, free: 11.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.689e-05/0.3218, allocations: 316.2 kB / 0.5993 GB, free: 11.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.3219, allocations: 35.97 kB / 0.5994 GB, free: 11.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.322, allocations: 41.31 kB / 0.5994 GB, free: 11.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.3223, allocations: 83.7 kB / 0.5995 GB, free: 11.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3223, allocations: 0 / 0.5995 GB, free: 11.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003076/0.3226, allocations: 127.7 kB / 0.5996 GB, free: 11.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3226, allocations: 7.938 kB / 0.5996 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.3226, allocations: 4 kB / 0.5996 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.3226, allocations: 1.438 kB / 0.5996 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001981/0.3228, allocations: 19.97 kB / 0.5996 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3229, allocations: 4 kB / 0.5996 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.323, allocations: 9.328 kB / 0.5997 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.323, allocations: 0 / 0.5997 GB, free: 11.14 MB / 446.1 MB 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 5.641e-05/0.3231, allocations: 118.5 kB / 0.5998 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.3231, allocations: 8.875 kB / 0.5998 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.963e-05/0.3232, allocations: 18.2 kB / 0.5998 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3232, allocations: 0 / 0.5998 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3232, allocations: 1.125 kB / 0.5998 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.3232, allocations: 0 / 0.5998 GB, free: 10.99 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.3233, allocations: 187.5 kB / 0.6 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3233, allocations: 1.906 kB / 0.6 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.3235, allocations: 27.97 kB / 0.6 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3235, allocations: 7.938 kB / 0.6 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.3235, allocations: 0 / 0.6 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3236, allocations: 4.609 kB / 0.6 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3236, allocations: 0 / 0.6 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004805/0.324, allocations: 188.7 kB / 0.6002 GB, free: 10.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.3241, allocations: 82.05 kB / 0.6003 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.3241, allocations: 0 / 0.6003 GB, free: 10.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.3243, allocations: 14.02 kB / 0.6003 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.454e-05/0.3243, allocations: 0 / 0.6003 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.3243, allocations: 15.92 kB / 0.6003 GB, free: 10.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.922e-05/0.3243, allocations: 77.09 kB / 0.6004 GB, free: 10.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3244, allocations: 0 / 0.6004 GB, free: 10.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002184/0.3246, allocations: 28 kB / 0.6004 GB, free: 10.29 MB / 446.1 MB 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.0001678/0.3248, allocations: 137.3 kB / 0.6005 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003168/0.3251, allocations: 89.41 kB / 0.6006 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3251, allocations: 0 / 0.6006 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001364/0.3252, allocations: 45.62 kB / 0.6007 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.3255, allocations: 15.92 kB / 0.6007 GB, free: 10.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.326, allocations: 186.2 kB / 0.6009 GB, free: 9.797 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.283e-05/0.3261, allocations: 0.6857 MB / 0.6015 GB, free: 9.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.454e-05/0.3262, allocations: 19.41 kB / 0.6015 GB, free: 9.07 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3262, allocations: 0 / 0.6015 GB, free: 9.07 MB / 446.1 MB Notification: Performance of Templates: time 0.002503/0.3287, allocations: 1.604 MB / 0.6031 GB, free: 7.512 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Psychrometrics.Functions.BaseClasses.Examples.SaturationPressureDerivativeCheck.pipe 2>&1)