Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.00113, allocations: 107.2 kB / 15.99 MB, free: 5.895 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.001134/0.001134, allocations: 191.7 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.1 MB / 222.8 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.3 MB / 0.5492 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 67.98 kB / 0.6717 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2191, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002627/0.2218, allocations: 1.317 MB / 0.7848 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005149/0.2223, allocations: 235.3 kB / 0.785 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.715e-05/0.2224, allocations: 3.938 kB / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.2224, allocations: 0 / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.124e-05/0.2225, allocations: 3.938 kB / 0.785 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.2228, allocations: 31.89 kB / 0.7851 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.723e-05/0.2228, allocations: 23.92 kB / 0.7851 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.2229, allocations: 4 kB / 0.7851 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.156e-05/0.2229, allocations: 4 kB / 0.7851 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.752e-05/0.223, allocations: 19.91 kB / 0.7851 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.223, allocations: 0 / 0.7851 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.2231, allocations: 43.97 kB / 0.7852 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.2231, allocations: 7.984 kB / 0.7852 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.2232, allocations: 8 kB / 0.7852 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.2233, allocations: 24.23 kB / 0.7852 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2233, allocations: 0 / 0.7852 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.776e-06/0.2233, allocations: 0 / 0.7852 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2233, allocations: 7.938 kB / 0.7852 GB, free: 12.17 MB / 0.6075 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.0003639/0.2237, allocations: 339.5 kB / 0.7855 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.2237, allocations: 11.97 kB / 0.7855 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.2239, allocations: 12.92 kB / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.627e-05/0.224, allocations: 160.4 kB / 0.7857 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.224, allocations: 4.375 kB / 0.7857 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.224, allocations: 4.375 kB / 0.7857 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.2241, allocations: 50.25 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.2242, allocations: 4.172 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.2242, allocations: 3.938 kB / 0.7858 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2242, allocations: 3.938 kB / 0.7858 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.041e-05/0.2243, allocations: 15.98 kB / 0.7858 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001564/0.2244, allocations: 161.6 kB / 0.786 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.544e-05/0.2245, allocations: 42.62 kB / 0.786 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.18e-05/0.2246, allocations: 20.98 kB / 0.786 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.2246, allocations: 4 kB / 0.786 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.2246, allocations: 34.56 kB / 0.786 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.91e-07/0.2246, allocations: 0 / 0.786 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.002081/0.2267, allocations: 0.4941 MB / 0.7865 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.2267, allocations: 51.41 kB / 0.7866 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.735e-05/0.2268, allocations: 93.86 kB / 0.7867 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2268, allocations: 25.7 kB / 0.7867 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.388e-05/0.2268, allocations: 80.14 kB / 0.7868 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.2269, allocations: 35.53 kB / 0.7868 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.2269, allocations: 25.72 kB / 0.7868 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.227, allocations: 314.8 kB / 0.7871 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.2271, allocations: 23.98 kB / 0.7872 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.978e-05/0.2271, allocations: 23.98 kB / 0.7872 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.2273, allocations: 56.98 kB / 0.7872 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.2273, allocations: 4 kB / 0.7872 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001503/0.2274, allocations: 89.62 kB / 0.7873 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2275, allocations: 7.938 kB / 0.7873 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.2275, allocations: 4 kB / 0.7873 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.2275, allocations: 11.88 kB / 0.7873 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.2277, allocations: 15.98 kB / 0.7874 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2277, allocations: 0 / 0.7874 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/0.2277, allocations: 0 / 0.7874 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.2278, allocations: 4 kB / 0.7874 GB, free: 9.695 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.69e-05/0.2278, allocations: 110.5 kB / 0.7875 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.809e-05/0.2279, allocations: 7.938 kB / 0.7875 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.2279, allocations: 11.97 kB / 0.7875 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2279, allocations: 0 / 0.7875 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2279, allocations: 4 kB / 0.7875 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.2279, allocations: 3.984 kB / 0.7875 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.2281, allocations: 171.5 kB / 0.7877 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2281, allocations: 0 / 0.7877 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.2282, allocations: 20.36 kB / 0.7877 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2282, allocations: 3.938 kB / 0.7877 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.2283, allocations: 0 / 0.7877 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.2283, allocations: 4 kB / 0.7877 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2283, allocations: 0 / 0.7877 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.2285, allocations: 149 kB / 0.7878 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.2286, allocations: 85.05 kB / 0.7879 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2286, allocations: 4 kB / 0.7879 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.2287, allocations: 7.984 kB / 0.7879 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.2287, allocations: 4 kB / 0.7879 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.2287, allocations: 0 / 0.7879 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.524e-05/0.2288, allocations: 76.34 kB / 0.788 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2288, allocations: 0 / 0.788 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001911/0.229, allocations: 16 kB / 0.788 GB, free: 8.926 MB / 0.6075 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 (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.0001298/0.2291, allocations: 111.2 kB / 0.7881 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001527/0.2293, allocations: 60.08 kB / 0.7882 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2293, allocations: 192 / 0.7882 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.369e-05/0.2293, allocations: 35.92 kB / 0.7882 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.2296, allocations: 10.89 kB / 0.7882 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/0.2301, allocations: 212.2 kB / 0.7884 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.2304, allocations: 0.6884 MB / 0.7891 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.811e-05/0.2304, allocations: 11.44 kB / 0.7891 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2304, allocations: 0 / 0.7891 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of Templates: time 0.002141/0.2326, allocations: 0.8889 MB / 0.79 GB, free: 6.855 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)