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.001146/0.001146, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001445/0.001445, allocations: 191.3 kB / 16.14 MB, free: 6.703 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.334/1.334, allocations: 205.1 MB / 222 MB, free: 4.773 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.639/1.639, allocations: 292.2 MB / 0.5484 GB, free: 13.64 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.001282/0.001282, allocations: 62.58 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2175, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002197/0.2197, allocations: 1.309 MB / 0.784 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004862/0.2202, allocations: 243.3 kB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.078e-05/0.2202, allocations: 0 / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.2203, allocations: 3.938 kB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.767e-05/0.2203, allocations: 0 / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.2206, allocations: 39.83 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.138e-05/0.2206, allocations: 23.91 kB / 0.7843 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.084e-05/0.2207, allocations: 4 kB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.008e-05/0.2207, allocations: 8 kB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.952e-05/0.2208, allocations: 11.92 kB / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.2208, allocations: 0 / 0.7843 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.2209, allocations: 51.89 kB / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.221, allocations: 0 / 0.7843 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.221, allocations: 11.92 kB / 0.7843 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.2211, allocations: 36.25 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2211, allocations: 0 / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.21e-07/0.2211, allocations: 0 / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2211, allocations: 0 / 0.7844 GB, free: 12.25 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.0003972/0.2215, allocations: 343.5 kB / 0.7847 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.2216, allocations: 8.031 kB / 0.7847 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.2217, allocations: 12.92 kB / 0.7847 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.558e-05/0.2218, allocations: 160.4 kB / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.2219, allocations: 4.375 kB / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.2219, allocations: 4.312 kB / 0.7849 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.222, allocations: 46.25 kB / 0.7849 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.222, allocations: 4.172 kB / 0.7849 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.222, allocations: 7.938 kB / 0.7849 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.222, allocations: 4 kB / 0.7849 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.807e-05/0.2221, allocations: 19.92 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.2223, allocations: 157.6 kB / 0.7851 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.511e-05/0.2224, allocations: 42.64 kB / 0.7852 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.893e-05/0.2224, allocations: 28.91 kB / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.2224, allocations: 0 / 0.7852 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.2225, allocations: 38.56 kB / 0.7852 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.2225, allocations: 0 / 0.7852 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.002143/0.2246, allocations: 0.498 MB / 0.7857 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.719e-05/0.2247, allocations: 55.41 kB / 0.7858 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.769e-05/0.2247, allocations: 89.86 kB / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.2247, allocations: 25.7 kB / 0.7859 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.503e-05/0.2248, allocations: 80.14 kB / 0.7859 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.2248, allocations: 27.56 kB / 0.786 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.2248, allocations: 25.7 kB / 0.786 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.225, allocations: 314.8 kB / 0.7863 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.276e-05/0.225, allocations: 23.98 kB / 0.7863 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.2251, allocations: 23.94 kB / 0.7863 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.94e-05/0.2252, allocations: 64.97 kB / 0.7864 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.2252, allocations: 0 / 0.7864 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000144/0.2253, allocations: 93.62 kB / 0.7865 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.2253, allocations: 7.938 kB / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.2254, allocations: 0 / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2254, allocations: 0 / 0.7865 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.2255, allocations: 12 kB / 0.7865 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2255, allocations: 0 / 0.7865 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.593e-05/0.2256, allocations: 15.98 kB / 0.7865 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.2256, allocations: 0 / 0.7865 GB, free: 9.77 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.165e-05/0.2257, allocations: 110.5 kB / 0.7866 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.2257, allocations: 7.938 kB / 0.7866 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.641e-05/0.2258, allocations: 15.91 kB / 0.7867 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2258, allocations: 4 kB / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2258, allocations: 0 / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2258, allocations: 0 / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.2259, allocations: 175.5 kB / 0.7868 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.226, allocations: 4 kB / 0.7868 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.2261, allocations: 19.98 kB / 0.7869 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2261, allocations: 3.938 kB / 0.7869 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.2261, allocations: 0 / 0.7869 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2261, allocations: 4 kB / 0.7869 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2261, allocations: 448 / 0.7869 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002287/0.2264, allocations: 145 kB / 0.787 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.2264, allocations: 81.05 kB / 0.7871 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.2264, allocations: 8.094 kB / 0.7871 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.2266, allocations: 12 kB / 0.7871 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.021e-05/0.2266, allocations: 3.984 kB / 0.7871 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.2266, allocations: 4.094 kB / 0.7871 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.183e-05/0.2266, allocations: 79.22 kB / 0.7872 GB, free: 9 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2266, allocations: 0 / 0.7872 GB, free: 9 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002045/0.2269, allocations: 8 kB / 0.7872 GB, free: 8.992 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.000148/0.227, allocations: 111.2 kB / 0.7873 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.2272, allocations: 59.91 kB / 0.7873 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2272, allocations: 0 / 0.7873 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.481e-05/0.2272, allocations: 39.97 kB / 0.7874 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.2275, allocations: 4 kB / 0.7874 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.228, allocations: 188.3 kB / 0.7876 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002181/0.2283, allocations: 0.6809 MB / 0.7882 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.897e-05/0.2284, allocations: 12 kB / 0.7882 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.2284, allocations: 7.438 kB / 0.7883 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.2284, allocations: 3.938 kB / 0.7883 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of Templates: time 0.002902/0.2313, allocations: 0.659 MB / 0.7889 GB, free: 7.215 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)